mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-07-21 06:07:13 +08:00
fix(cli): cli output in wecom_bot
This commit is contained in:
@@ -452,7 +452,7 @@ class WecomBotChannel(ChatChannel):
|
|||||||
if req_id:
|
if req_id:
|
||||||
state = self._stream_states.pop(req_id, None)
|
state = self._stream_states.pop(req_id, None)
|
||||||
if state:
|
if state:
|
||||||
final_content = state["committed"]
|
final_content = state["committed"] or content
|
||||||
stream_id = state["stream_id"]
|
stream_id = state["stream_id"]
|
||||||
else:
|
else:
|
||||||
final_content = content
|
final_content = content
|
||||||
|
|||||||
Reference in New Issue
Block a user