fix:处理模型错误添加大量文本的bug
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user