分析次数上限照实按每个 Agent 每次执行说:设置叫法「Agent 每次执行最多分析几次」,次数用完的调用错误「这个 Agent 这次执行最多做 N 次分析,已经用完」(入口按本节点这次执行的分析容器数次数,本来就是这样算的)

This commit is contained in:
ThearchyHelios
2026-10-21 14:08:56 +08:00
parent e11a461a10
commit 5f96a23452
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -152,4 +152,4 @@ async def test_ledger_entries_name_the_real_input_snapshots():
def test_the_call_limit_error_is_spoken_with_the_limit():
error = analysis.exhausted({"max_calls": 5})
assert error.code == "max_calls" and error.message == "这次运行的分析次数已经用完(最多 5 次):用已有的分析结论写,不再新做分析"
assert error.code == "max_calls" and error.message == "这个 Agent 这次执行最多做 5 次分析,已经用完:用已有的分析结论写,不再新做分析"