docs: update 06-unexpected-token.mdx (#1786)

docs: update 06-unexpected-token.mdx
This commit is contained in:
Hieu 2024-01-26 00:05:11 +09:00 committed by GitHub
commit ec479137ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,4 +17,8 @@ keywords:
]
---
1. You may receive an error response `Error occurred: Unexpected token '<', "<!DOCTYPE"...is not valid JSON`, when you start a chat with OpenAI models. Using a VPN may help fix the issue.
You may receive an error response `Error occurred: Unexpected token '<', "<!DOCTYPE"...is not valid JSON`, when you start a chat with OpenAI models.
1. Check that you added an OpenAI API key. You can get an API key from OpenAI's [developer platform](https://platform.openai.com/). Alternatively, we recommend you download a local model from Jan Hub, which remains free to use and runs on your own computer!
2. Using a VPN may help fix the issue.