rewrite map

This commit is contained in:
Test 2024-09-11 12:32:15 -07:00
parent 5f32924bec
commit dd0802e134
2 changed files with 1 additions and 9 deletions

View file

@ -91,12 +91,6 @@ export const defaultSlashCommandsJetBrains = [
];
export const defaultConfig: SerializedContinueConfig = {
/**
* Add Sonnet + Codestral models into actual config
* No API key - [`Add your API key here`]
* - Chat model: add "No key" notification in model dropdown (beneath the model name, red alert, change trashcan to grey), free trial model comes first
* - Autocomplete: add check to short circuit if model is codestral and no api key, add no api key info in quickpick
*/
models: [
{
model: "claude-3-5-sonnet-20240620",

View file

@ -664,9 +664,7 @@ const commandsMap: (
) {
ide.openFile(getConfigJsonPath());
} else if (
autocompleteModels
.map((model) => model.title)
.includes(selectedOption)
autocompleteModels.some((model) => model.title === selectedOption)
) {
new GlobalContext().update(
"selectedTabAutocompleteModel",