Merge pull request #5983 from continuedev/dallin/relace-apply-competions
Only allow completions through continue for vllm for now
This commit is contained in:
commit
94ff944fa9
1 changed files with 7 additions and 1 deletions
|
|
@ -85,7 +85,13 @@ class ContinueProxy extends OpenAI {
|
|||
}
|
||||
|
||||
supportsCompletions(): boolean {
|
||||
return true;
|
||||
// This was a hotfix and contains duplicate logic from class-specific completion support methods
|
||||
if (this.underlyingProviderName === "vllm") {
|
||||
return true;
|
||||
}
|
||||
// other providers that don't support completions include groq, mistral, nvidia, deepseek, etc.
|
||||
// For now disabling all except vllm
|
||||
return false;
|
||||
}
|
||||
|
||||
supportsFim(): boolean {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue