Skip to content

Commit ea92686

Browse files
committed
feat: mcp chat picture test
1 parent 871161f commit ea92686

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/apps/chat/task/llm.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -641,6 +641,7 @@ def run_task(llm_service: LLMService, session: SessionDep, in_chat: bool = True)
641641
if chart['type'] != 'table':
642642
yield '# todo generate chart picture'
643643

644+
yield f'![{chart["type"]}](https://sqlbot.fit2cloud.cn/images/111.png)'
644645
except Exception as e:
645646
llm_service.save_error(message=str(e))
646647
if in_chat:

0 commit comments

Comments
 (0)