agentic
agentic copied to clipboard
SyntaxError: Unexpected non-whitespace character after JSON at position 4
Verify latest release
- [X] I verified that the issue exists in the latest
chatgpt
release
Verify webapp is working
- [X] I verify that the ChatGPT webapp is working properly for this account.
Environment details
node v20
Describe the Bug
SyntaxError: Unexpected non-whitespace character after JSON at position 4
while using
import { ChatGPTUnofficialProxyAPI } from '../src'
出现了同样的问题
This project is undergoing a major revamp; closing out old issues as part of the prep process.
The chatgpt
package is pretty outdated at this point. I recommend that you use the openai package or the openai-fetch package instead.