Skip to content

Commit

Permalink
Update chat-service.ts (#422)
Browse files Browse the repository at this point in the history
Potential fix #242
or just "House Keeping"
  • Loading branch information
disarticulate authored Dec 13, 2024
1 parent d528d53 commit 51b0912
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extension/chat-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ export class ChatService extends Base {
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization: `Bearer ${provider.apiKey}`,
Authorization: provider?.apiKey ? `Bearer ${provider.apiKey}` : undefined,
},
}

Expand Down

0 comments on commit 51b0912

Please sign in to comment.