Merge pull request #3296 from continuedev/nate/quick-edit-38e4
bump package.json version
This commit is contained in:
commit
95f663b98f
4 changed files with 16 additions and 6 deletions
|
|
@ -21,6 +21,7 @@ import {
|
|||
IdeSettings,
|
||||
IdeType,
|
||||
ILLM,
|
||||
LLMOptions,
|
||||
ModelDescription,
|
||||
RerankerDescription,
|
||||
SerializedContinueConfig,
|
||||
|
|
@ -454,8 +455,12 @@ async function intermediateToFinalConfig(
|
|||
) {
|
||||
config.embeddingsProvider = new embeddingsProviderClass();
|
||||
} else {
|
||||
const llmOptions: LLMOptions = {
|
||||
...options,
|
||||
model: "UNSPECIFIED",
|
||||
};
|
||||
config.embeddingsProvider = new embeddingsProviderClass(
|
||||
options,
|
||||
llmOptions,
|
||||
(url: string | URL, init: any) =>
|
||||
fetchwithRequestOptions(url, init, {
|
||||
...config.requestOptions,
|
||||
|
|
@ -483,7 +488,11 @@ async function intermediateToFinalConfig(
|
|||
config.reranker = new LLMReranker(llm);
|
||||
}
|
||||
} else if (rerankerClass) {
|
||||
config.reranker = new rerankerClass(params);
|
||||
const llmOptions: LLMOptions = {
|
||||
...params,
|
||||
model: "rerank-2",
|
||||
};
|
||||
config.reranker = new rerankerClass(llmOptions);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
4
extensions/vscode/package-lock.json
generated
4
extensions/vscode/package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "continue",
|
||||
"version": "0.9.248",
|
||||
"version": "0.9.243",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "continue",
|
||||
"version": "0.9.248",
|
||||
"version": "0.9.243",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@continuedev/fetch": "^1.0.3",
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"name": "continue",
|
||||
"icon": "media/icon.png",
|
||||
"author": "Continue Dev, Inc",
|
||||
"version": "0.9.242",
|
||||
"version": "0.9.243",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/continuedev/continue"
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ export function constructLlmApi(config: LLMConfig): BaseLlmApi | undefined {
|
|||
case "nvidia":
|
||||
return openAICompatible("https://integrate.api.nvidia.com/v1/", config);
|
||||
case "scaleway":
|
||||
return openAICompatible("https://api.scaleway.ai/v1/", config);
|
||||
return openAICompatible("https://api.scaleway.ai/v1/", config);
|
||||
case "fireworks":
|
||||
return openAICompatible("https://api.fireworks.ai/inference/v1/", config);
|
||||
case "together":
|
||||
|
|
@ -99,4 +99,5 @@ export {
|
|||
type CompletionCreateParamsStreaming,
|
||||
} from "openai/resources/index";
|
||||
|
||||
// export
|
||||
export type { BaseLlmApi } from "./apis/base.js";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue