match against lowercase model name when validating autocomplete model
This commit is contained in:
parent
fcf12712ff
commit
d56e6f50ec
1 changed files with 2 additions and 2 deletions
|
|
@ -458,8 +458,8 @@ export class CompletionProvider {
|
|||
if (
|
||||
!shownGptClaudeWarning &&
|
||||
nonAutocompleteModels.some((model) => llm.model.includes(model)) &&
|
||||
!llm.model.includes("deepseek") &&
|
||||
!llm.model.includes("Codestral")
|
||||
!llm.model.toLowerCase().includes("deepseek") &&
|
||||
!llm.model.toLowerCase().includes("codestral")
|
||||
) {
|
||||
shownGptClaudeWarning = true;
|
||||
throw new Error(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue