fix:处理模型错误添加大量文本的bug

This commit is contained in:
2026-10-14 01:08:50 -07:00
parent a80727b7a0
commit 41b769adde
35 changed files with 388 additions and 149 deletions
+1
View File
@@ -221,6 +221,7 @@ class AgentService:
actions=(state.get("actions") or []) if deliver else [],
answer=state.get("answer"),
clarification=state.get("clarification") if waiting else None,
suggestions=(state.get("suggestions") or []) if deliver else [],
)
async def stream(self, thread_id, payload, session_id, user_id=None, context=None):