THUDM / ChatGLM2-6B

ChatGLM2-6B: An Open Bilingual Chat LLM | 开源双语对话语言模型
Other
15.74k stars 1.85k forks source link

H11 _util localprotocolerror can't handle event type response when role server and state must_close #538

Open lopman87 opened 1 year ago

lopman87 commented 1 year ago

Is there an existing issue for this?

Current Behavior

调用流式接口报错。

Expected Behavior

No response

Steps To Reproduce

1:anaconda虚拟环境,Python3.9.7 2:运行openai_api.py文件 报错 H11 _util localprotocolerror can't handle event type response when role server and state must_close

Environment

- Python:3.9.0

Anything else?

No response

lopman87 commented 1 year ago

哪位大佬帮看下