fix: chat question for mcp

This commit is contained in:
ulleo
2025-07-02 18:03:12 +08:00
parent 66b5650ea6
commit 33f88e4509
+1 -1
View File
@@ -646,4 +646,4 @@ def run_task(llm_service: LLMService, session: SessionDep, in_chat: bool = True)
if in_chat:
yield orjson.dumps({'content': str(e), 'type': 'error'}).decode() + '\n\n'
else:
raise e
yield f'> ❌ **ERROR**\n\n> \n\n> {str(e)}。'