Skip to content

Commit

Permalink
fix:ts type error
Browse files Browse the repository at this point in the history
  • Loading branch information
Kadxy committed Jul 26, 2024
1 parent 52cdc2f commit 6387942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/client/chatCompletions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ export class ChatCompletionAPI {
this.path(),
{
method: "POST",
headers: getHeadersWithApiKey(this.apiKey),
headers: getHeadersWithApiKey(this.apiKey) as any,
body: JSON.stringify(options),
signal: abortSignal,
onmessage: (msg) => {
Expand Down

0 comments on commit 6387942

Please sign in to comment.