We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66b5650 commit 33f88e4Copy full SHA for 33f88e4
backend/apps/chat/task/llm.py
@@ -646,4 +646,4 @@ def run_task(llm_service: LLMService, session: SessionDep, in_chat: bool = True)
646
if in_chat:
647
yield orjson.dumps({'content': str(e), 'type': 'error'}).decode() + '\n\n'
648
else:
649
- raise e
+ yield f'> ❌ **ERROR**\n\n> \n\n> {str(e)}。'
0 commit comments