chore(api): update chatgpt-api package version to 1.36.3 (#404)

docs(api): update BINGAI_TOKEN instructions in .env.example
docs(client): update BINGAI_TOKEN instructions in SetTokenDialog component
This commit is contained in:
Danny Avila 2023-05-29 11:00:51 -04:00 committed by GitHub
parent 6a34978e98
commit 2f59c82bec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 11 deletions

View file

@ -59,9 +59,9 @@ OPENAI_MODELS=gpt-3.5-turbo,gpt-3.5-turbo-0301,text-davinci-003,gpt-4
##########################
# Also used for Sydney and jailbreak
# As of 5/23/23, to use Bing, you will need your full cookie string from bing.com. Use dev tools or an extension while
# logged into the site to view it in your network request Cookie header value. For full instructions, see my comment here:
# https://github.com/waylaidwanderer/node-chatgpt-api/issues/378#issuecomment-1559868368
# To get your Access token for Bing, login to https://www.bing.com
# Use dev tools or an extension while logged into the site to copy the content of the _U cookie.
#If this fails, follow these instructions https://github.com/danny-avila/chatgpt-clone/issues/370#issuecomment-1560382302 to provide the full cookie strings.
# Set to "user_provided" to allow the user to provide its token from the UI.
# Leave it blank to disable this endpoint.
BINGAI_TOKEN="user_provided"

View file

@ -21,7 +21,7 @@
"dependencies": {
"@dqbd/tiktoken": "^1.0.2",
"@keyv/mongo": "^2.1.8",
"@waylaidwanderer/chatgpt-api": "^1.36.0",
"@waylaidwanderer/chatgpt-api": "^1.36.3",
"axios": "^1.3.4",
"bcryptjs": "^2.4.3",
"cookie": "^0.5.0",