From f6675480c216d3f74cdd598074884f5c0382f9fd Mon Sep 17 00:00:00 2001 From: Nate Date: Wed, 16 Jul 2025 21:57:02 -0700 Subject: [PATCH] fix: don't use continue proxy openai adapter locally --- core/llm/llms/stubs/ContinueProxy.ts | 3 +++ extensions/vscode/package.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/core/llm/llms/stubs/ContinueProxy.ts b/core/llm/llms/stubs/ContinueProxy.ts index d7f788a33..41a0904e0 100644 --- a/core/llm/llms/stubs/ContinueProxy.ts +++ b/core/llm/llms/stubs/ContinueProxy.ts @@ -11,6 +11,7 @@ import OpenAI from "../OpenAI.js"; import type { Chunk, LLMOptions } from "../../../index.js"; import { LLMConfigurationStatuses } from "../../constants.js"; +import { LlmApiRequestType } from "../../openaiTypeConverters.js"; class ContinueProxy extends OpenAI { set controlPlaneProxyInfo(value: ControlPlaneProxyInfo) { @@ -23,6 +24,8 @@ class ContinueProxy extends OpenAI { } } + protected useOpenAIAdapterFor: (LlmApiRequestType | "*")[] = []; + // The apiKey and apiBase are set to the values for the proxy, // but we need to keep track of the actual values that the proxy will use // to call whatever LLM API is chosen diff --git a/extensions/vscode/package.json b/extensions/vscode/package.json index e03ce3d31..a47f507d1 100644 --- a/extensions/vscode/package.json +++ b/extensions/vscode/package.json @@ -2,7 +2,7 @@ "name": "continue", "icon": "media/icon.png", "author": "Continue Dev, Inc", - "version": "1.1.64", + "version": "1.1.65", "repository": { "type": "git", "url": "https://github.com/continuedev/continue"