mirror of
https://github.com/snailyp/gemini-balance.git
synced 2026-05-31 21:29:44 +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【执行结果】\noutcome: {outcome}\noutput:\n```{output}```\n"""
|
||||
return f"""\n【执行结果】\n> outcome: {outcome}\n> output:\n```plaintext\n{output}\n```\n"""
|
||||
|
||||
Reference in New Issue
Block a user