Merge pull request #6673 from continuedev/nate/fix-continue-proxy
fix: don't use continue proxy openai adapter locally
This commit is contained in:
commit
2fe815fefa
2 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue