mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 13:57:10 +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: {
|
headers: {
|
||||||
accept: 'text/event-stream',
|
accept: 'text/event-stream',
|
||||||
'x-openai-assistant-app-id': '',
|
'x-openai-assistant-app-id': '',
|
||||||
authorization: `Bearer ${this._accessToken}`,
|
authorization: this._accessToken ? `Bearer ${this._accessToken}` : '',
|
||||||
'content-type': 'application/json',
|
'content-type': 'application/json',
|
||||||
referer: 'https://chat.openai.com/chat',
|
referer: 'https://chat.openai.com/chat',
|
||||||
library: 'chatgpt-plugin'
|
library: 'chatgpt-plugin'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue