Merge pull request #6673 from continuedev/nate/fix-continue-proxy

fix: don't use continue proxy openai adapter locally
This commit is contained in:
Nate Sesti 2025-07-16 22:22:48 -07:00 • committed by GitHub
commit 2fe815fefa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View file

@ -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

View file

@ -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"