bearer token
This commit is contained in:
parent
19b5424790
commit
2dce084e4c
1 changed files with 1 additions and 0 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue