diff --git a/backend/apps/chat/task/llm.py b/backend/apps/chat/task/llm.py index 26e4295f..0a8d3c86 100644 --- a/backend/apps/chat/task/llm.py +++ b/backend/apps/chat/task/llm.py @@ -643,7 +643,7 @@ def run_task(llm_service: LLMService, session: SessionDep, in_chat: bool = True) else: # todo generate picture if chart['type'] != 'table': - yield '# generated chart picture' + yield '### generated chart picture\n\n' image_url = request_picture(llm_service.record.chat_id, llm_service.record.id, chart, result) print(image_url) yield f'![{chart["type"]}]({image_url})'