remove default chat and autocomplete models
This commit is contained in:
parent
f29e1849f3
commit
0e70ff083e
2 changed files with 2 additions and 22 deletions
|
|
@ -5,20 +5,6 @@ import {
|
|||
SlashCommandDescription,
|
||||
} from "../";
|
||||
|
||||
export const DEFAULT_CHAT_MODEL_CONFIG: ModelDescription = {
|
||||
model: "claude-3-5-sonnet-latest",
|
||||
provider: "anthropic",
|
||||
apiKey: "",
|
||||
title: "Claude 3.5 Sonnet",
|
||||
};
|
||||
|
||||
export const DEFAULT_AUTOCOMPLETE_MODEL_CONFIG: ModelDescription = {
|
||||
title: "Codestral",
|
||||
provider: "mistral",
|
||||
model: "codestral-latest",
|
||||
apiKey: "",
|
||||
};
|
||||
|
||||
export const FREE_TRIAL_MODELS: ModelDescription[] = [
|
||||
{
|
||||
title: "Claude 3.5 Sonnet (Free Trial)",
|
||||
|
|
@ -93,15 +79,13 @@ export const defaultSlashCommandsJetBrains = [
|
|||
];
|
||||
|
||||
export const defaultConfig: SerializedContinueConfig = {
|
||||
models: [DEFAULT_CHAT_MODEL_CONFIG],
|
||||
tabAutocompleteModel: DEFAULT_AUTOCOMPLETE_MODEL_CONFIG,
|
||||
models: [],
|
||||
contextProviders: defaultContextProvidersVsCode,
|
||||
slashCommands: defaultSlashCommandsVscode,
|
||||
};
|
||||
|
||||
export const defaultConfigJetBrains: SerializedContinueConfig = {
|
||||
models: [DEFAULT_CHAT_MODEL_CONFIG],
|
||||
tabAutocompleteModel: DEFAULT_AUTOCOMPLETE_MODEL_CONFIG,
|
||||
models: [],
|
||||
contextProviders: defaultContextProvidersJetBrains,
|
||||
slashCommands: defaultSlashCommandsJetBrains,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
import { CubeIcon } from "@heroicons/react/24/outline";
|
||||
import { DEFAULT_CHAT_MODEL_CONFIG } from "core/config/default";
|
||||
import { FormEventHandler, useContext, useState } from "react";
|
||||
import { useDispatch } from "react-redux";
|
||||
import { Button, Input, InputSubtext, lightGray } from "../..";
|
||||
|
|
@ -57,9 +56,6 @@ function BestExperienceConfigForm({
|
|||
apiKey: autocompleteApiKey,
|
||||
};
|
||||
|
||||
ideMessenger.post("config/deleteModel", {
|
||||
title: DEFAULT_CHAT_MODEL_CONFIG.title,
|
||||
});
|
||||
ideMessenger.post("config/addModel", { model: chatModelConfig });
|
||||
ideMessenger.post("config/addModel", {
|
||||
model: repoMapConfig,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue