From ea9268631df261453986f91d6f27022edd82efdc Mon Sep 17 00:00:00 2001 From: ulleo Date: Wed, 2 Jul 2025 18:16:48 +0800 Subject: [PATCH] feat: mcp chat picture test --- backend/apps/chat/task/llm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/apps/chat/task/llm.py b/backend/apps/chat/task/llm.py index f0aa5283..5418beb6 100644 --- a/backend/apps/chat/task/llm.py +++ b/backend/apps/chat/task/llm.py @@ -641,6 +641,7 @@ def run_task(llm_service: LLMService, session: SessionDep, in_chat: bool = True) if chart['type'] != 'table': yield '# todo generate chart picture' + yield f'![{chart["type"]}](https://sqlbot.fit2cloud.cn/images/111.png)' except Exception as e: llm_service.save_error(message=str(e)) if in_chat: