Skip to content

Commit 2fe815f

Browse files
authored
Merge pull request #6673 from continuedev/nate/fix-continue-proxy
fix: don't use continue proxy openai adapter locally
2 parents 1dc5652 + f667548 commit 2fe815f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

core/llm/llms/stubs/ContinueProxy.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import OpenAI from "../OpenAI.js";
1111

1212
import type { Chunk, LLMOptions } from "../../../index.js";
1313
import { LLMConfigurationStatuses } from "../../constants.js";
14+
import { LlmApiRequestType } from "../../openaiTypeConverters.js";
1415

1516
class ContinueProxy extends OpenAI {
1617
set controlPlaneProxyInfo(value: ControlPlaneProxyInfo) {
@@ -23,6 +24,8 @@ class ContinueProxy extends OpenAI {
2324
}
2425
}
2526

27+
protected useOpenAIAdapterFor: (LlmApiRequestType | "*")[] = [];
28+
2629
// The apiKey and apiBase are set to the values for the proxy,
2730
// but we need to keep track of the actual values that the proxy will use
2831
// to call whatever LLM API is chosen

extensions/vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "continue",
33
"icon": "media/icon.png",
44
"author": "Continue Dev, Inc",
5-
"version": "1.1.64",
5+
"version": "1.1.65",
66
"repository": {
77
"type": "git",
88
"url": "https://github.com/continuedev/continue"

0 commit comments

Comments
 (0)