fix useLegacyCompletionsEndpoint for azure provider
This commit is contained in:
parent
1dcde6d734
commit
aef87c7662
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ export abstract class BaseLLM implements ILLM {
|
|||
}
|
||||
|
||||
supportsCompletions(): boolean {
|
||||
if (this.providerName === "openai") {
|
||||
if (["openai", "azure"].includes(this.providerName)) {
|
||||
if (
|
||||
this.apiBase?.includes("api.groq.com") ||
|
||||
this.apiBase?.includes("api.mistral.ai") ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue