agentic icon indicating copy to clipboard operation
agentic copied to clipboard

SyntaxError: Unexpected non-whitespace character after JSON at position 4

Open seckingyo opened this issue 1 year ago • 1 comments

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'

seckingyo avatar Apr 27 '23 22:04 seckingyo

出现了同样的问题

Jxells avatar Apr 30 '23 07:04 Jxells

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.

transitive-bullshit avatar Jun 07 '24 06:06 transitive-bullshit