Skip to content

Commit 2b72b48

Browse files
committed
fix: avoid enforce bearer for mistral in input
1 parent c31e970 commit 2b72b48

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)