mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
fix: allow empty api3 token
This commit is contained in:
parent
21a15c58ea
commit
6f7bb4f7fd
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ export class OfficialChatGPTClient {
|
|||
headers: {
|
||||
accept: 'text/event-stream',
|
||||
'x-openai-assistant-app-id': '',
|
||||
authorization: `Bearer ${this._accessToken}`,
|
||||
authorization: this._accessToken ? `Bearer ${this._accessToken}` : '',
|
||||
'content-type': 'application/json',
|
||||
referer: 'https://chat.openai.com/chat',
|
||||
library: 'chatgpt-plugin'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue