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