Merge pull request #5983 from continuedev/dallin/relace-apply-competions

Only allow completions through continue for vllm for now
This commit is contained in:
Nate Sesti 2025-06-04 12:44:05 -07:00 • committed by GitHub
commit 94ff944fa9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 {