mirror of
https://github.com/snailyp/gemini-balance.git
synced 2026-05-26 18:59:32 +08:00
优化执行结果输出格式,调整输出内容的分段结构与标记样式
This commit is contained in:
@@ -298,4 +298,4 @@ class ChatService:
|
||||
"""格式化执行结果输出"""
|
||||
outcome = result_data.get("outcome", "")
|
||||
output = result_data.get("output", "").strip()
|
||||
return f"""\n【执行结果】\n> outcome: {outcome}\n> output:\n```plaintext\n{output}\n```\n"""
|
||||
return f"""\n【执行结果】\n> outcome: {outcome}\n\n【输出结果】\n```plaintext\n{output}\n```\n"""
|
||||
|
||||
Reference in New Issue
Block a user