gpt4free-ts icon indicating copy to clipboard operation
gpt4free-ts copied to clipboard

SyntaxError: Unexpected token 你 in JSON at position 0

Open DuanShaoCheng opened this issue 1 year ago • 5 comments

curl 请求之后返回了 你好!很高兴为您提供帮助。请问有什么问题我可以帮您解答吗? SyntaxError: Unexpected token 你 in JSON at position 0 按照文档 curl "http://127.0.0.1:3000/ask?prompt=你好啊&model=forefront&gptmodel=gpt-4&resignup=1" 执行之后报错,看着它不是json却用json进行了解析

DuanShaoCheng avatar May 08 '23 06:05 DuanShaoCheng