remove "Autodetect"
This commit is contained in:
parent
954d91cfe8
commit
0917ddf9a5
3 changed files with 4 additions and 6 deletions
|
|
@ -71,7 +71,6 @@ import {
|
|||
} from "../util/paths";
|
||||
import { localPathToUri } from "../util/pathToUri";
|
||||
|
||||
import { capitalizeFirstLetter } from "../util/text";
|
||||
import {
|
||||
defaultContextProvidersJetBrains,
|
||||
defaultContextProvidersVsCode,
|
||||
|
|
@ -273,7 +272,7 @@ async function intermediateToFinalConfig(
|
|||
{
|
||||
...desc,
|
||||
model: modelName,
|
||||
title: `${modelName} - ${llm.title?.toUpperCase() === "AUTODETECT" ? capitalizeFirstLetter(llm.providerName) : llm.title} (Autodetect)`,
|
||||
title: modelName,
|
||||
},
|
||||
ide.readFile.bind(ide),
|
||||
uniqueId,
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@ import { ModelConfig } from "@continuedev/config-yaml";
|
|||
import { IDE, IdeSettings, LLMOptions } from "../..";
|
||||
import { BaseLLM } from "../../llm";
|
||||
import { LLMClasses } from "../../llm/llms";
|
||||
import { capitalizeFirstLetter } from "../../util/text";
|
||||
import { PlatformConfigMetadata } from "../profile/PlatformProfileLoader";
|
||||
|
||||
const AUTODETECT = "AUTODETECT";
|
||||
|
|
@ -128,7 +127,7 @@ async function autodetectModels(
|
|||
{
|
||||
...model,
|
||||
model: modelName,
|
||||
name: `${modelName} - ${llm.title?.toUpperCase() === "AUTODETECT" ? capitalizeFirstLetter(llm.providerName) : llm.title} (Autodetect)`,
|
||||
name: modelName,
|
||||
},
|
||||
uniqueId,
|
||||
ideSettings,
|
||||
|
|
|
|||
4
extensions/vscode/package-lock.json
generated
4
extensions/vscode/package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "continue",
|
||||
"version": "1.1.3",
|
||||
"version": "1.1.4",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "continue",
|
||||
"version": "1.1.3",
|
||||
"version": "1.1.4",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@continuedev/fetch": "^1.0.3",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue