fix: deepseek doesn't support 'https://api.deepseek.com/completions' URL currently. When user selecting code in editor, and then use 'CMD +I' command to let model to modify codes, 400 error happens.
This commit is contained in:
parent
15584f1860
commit
170b99d326
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ export abstract class BaseLLM implements ILLM {
|
|||
return false;
|
||||
}
|
||||
}
|
||||
if (["groq", "mistral"].includes(this.providerName)) {
|
||||
if (["groq", "mistral", "deepseek"].includes(this.providerName)) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue