Skip to content

Commit

Permalink
development > main (#424)
Browse files Browse the repository at this point in the history
* Update chat-service.ts (#422)

Potential fix #242
or just "House Keeping"

* 3.19.24

---------

Co-authored-by: Eric Xanderson <[email protected]>
  • Loading branch information
rjmacarthy and disarticulate authored Dec 13, 2024
1 parent d528d53 commit 3535ba6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "twinny",
"displayName": "twinny - AI Code Completion and Chat",
"description": "Locally hosted AI code completion plugin for vscode",
"version": "3.19.23",
"version": "3.19.24",
"icon": "assets/icon.png",
"keywords": [
"code-inference",
Expand Down
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 3535ba6

Please sign in to comment.