chatpire / chatgpt-web-share

ChatGPT Plus 共享方案。ChatGPT Plus / OpenAI API sharing solution.

Home Page:https://cws-docs.pages.dev/zh/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

v0.4.7 使用自改go-chatgpt-api “未知错误 the JSON object must be str, bytes or bytearray, not dict”

maxduke opened this issue · comments

Version
v0.4.7

What's your deploying method?

  • Docker
  • Caddy
  • Other

Describe the bug
使用自己魔改版的go-chatgpt-api https://github.com/maxduke/go-chatgpt-api ,把wss转换成event stream达成兼容。
v0.4.5对话正常。
v0.4.7报错

“获取回复失败
未知错误 the JSON object must be str, bytes or bytearray, not dict”

Expected behavior
希望能兼容go-chatgpt-api的输出

你好,我没有精力去做这个兼容了。如果你改好了,欢迎 PR