[高] Agent max_iterations截断后结果保存为success=True #81
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
问题描述
backend/app/agent_runtime/core.py 第450-453行,当 Agent 达到 max_iterations 限制被截断时,执行结果仍标记为 success=True。用户无法区分正常完成和被截断。
涉及文件
修复建议
被截断的结果应标记为 success=False,并在 message 中说明原因。
严重程度
高 - 执行状态误报