Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

点击cws里的"继续生成"按钮后报错,复现了很多次,而同时官网的"继续生成"可以正常使用 #399

Open
Alfred212121 opened this issue Mar 3, 2024 · 1 comment

Comments

@Alfred212121
Copy link

未知 OpenAI 错误 OpenaiWebException: [422] errors.openaiWeb {"detail":[{"loc":["body","messages"],"msg":"'NoneType' object is not iterable","type":"type_error"}]}

@BaoziCDR
Copy link

BaoziCDR commented Mar 5, 2024

遇到同样的问题

版本是v0.4.9
日志:

2024/03/05 14:31:19.517    ERROR: [cws.api.routers.chat]	<OpenaiWebException> OpenaiWebException: [422] errors.openaiWeb {"detail":[{"loc":["body","messages"],"msg":"'NoneType' object is not iterable","type":"type_error"}]}
traceback:
/app/backend/api/routers/chat.py:356 in chat
/app/backend/api/sources/openai_web.py:412 in complete
/app/backend/api/sources/openai_web.py:153 in _check_response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants