从工具错误中恢复
如果模型可以从工具错误中恢复,请设置on_error: "return-to-model"。错误会变成工具结果,Agent 可选择其他操作。对于不安全或无法恢复的操作,请保留 fail-run 行为。
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
处理 Ruby Agent 中的模型、工具、验证、超时和续接失败。
on_error: "return-to-model"。错误会变成工具结果,Agent 可选择其他操作。对于不安全或无法恢复的操作,请保留 fail-run 行为。