diff --git a/core/llm/llms/Mistral.ts b/core/llm/llms/Mistral.ts index c7723f67e8..d05615db8d 100644 --- a/core/llm/llms/Mistral.ts +++ b/core/llm/llms/Mistral.ts @@ -72,6 +72,7 @@ class Mistral extends OpenAI { "Content-Type": "application/json", Accept: "application/json", "x-api-key": this.apiKey ?? "", + Authorization: `Bearer ${this.apiKey}`, }, }); for await (const chunk of streamSse(resp)) {