Skip to content

Commit 1e7522d

Browse files
authored
Merge pull request #3580 from Bima42/fix/mistral-modal-require-bearer
fix: double bearer for mistral provider
2 parents c31e970 + 2b72b48 commit 1e7522d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/server/src/utils/ai/select-ai-provider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export const getProviderHeaders = (
103103
// Mistral
104104
if (apiUrl.includes("mistral")) {
105105
return {
106-
Authorization: apiKey,
106+
Authorization: `Bearer ${apiKey}`,
107107
};
108108
}
109109

0 commit comments

Comments
 (0)