Skip to content

Commit 95f663b

Browse files
authored
Merge pull request #3296 from continuedev/nate/quick-edit-38e4
bump package.json version
2 parents da0a52e + 5a1bb2d commit 95f663b

File tree

4 files changed

+16
-6
lines changed

4 files changed

+16
-6
lines changed

core/config/load.ts

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import {
2121
IdeSettings,
2222
IdeType,
2323
ILLM,
24+
LLMOptions,
2425
ModelDescription,
2526
RerankerDescription,
2627
SerializedContinueConfig,
@@ -454,8 +455,12 @@ async function intermediateToFinalConfig(
454455
) {
455456
config.embeddingsProvider = new embeddingsProviderClass();
456457
} else {
458+
const llmOptions: LLMOptions = {
459+
...options,
460+
model: "UNSPECIFIED",
461+
};
457462
config.embeddingsProvider = new embeddingsProviderClass(
458-
options,
463+
llmOptions,
459464
(url: string | URL, init: any) =>
460465
fetchwithRequestOptions(url, init, {
461466
...config.requestOptions,
@@ -483,7 +488,11 @@ async function intermediateToFinalConfig(
483488
config.reranker = new LLMReranker(llm);
484489
}
485490
} else if (rerankerClass) {
486-
config.reranker = new rerankerClass(params);
491+
const llmOptions: LLMOptions = {
492+
...params,
493+
model: "rerank-2",
494+
};
495+
config.reranker = new rerankerClass(llmOptions);
487496
}
488497
}
489498

extensions/vscode/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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": "0.9.242",
5+
"version": "0.9.243",
66
"repository": {
77
"type": "git",
88
"url": "https://github.com/continuedev/continue"

packages/openai-adapters/src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export function constructLlmApi(config: LLMConfig): BaseLlmApi | undefined {
6868
case "nvidia":
6969
return openAICompatible("https://integrate.api.nvidia.com/v1/", config);
7070
case "scaleway":
71-
return openAICompatible("https://api.scaleway.ai/v1/", config);
71+
return openAICompatible("https://api.scaleway.ai/v1/", config);
7272
case "fireworks":
7373
return openAICompatible("https://api.fireworks.ai/inference/v1/", config);
7474
case "together":
@@ -99,4 +99,5 @@ export {
9999
type CompletionCreateParamsStreaming,
100100
} from "openai/resources/index";
101101

102+
// export
102103
export type { BaseLlmApi } from "./apis/base.js";

0 commit comments

Comments
 (0)