Name the project's rung project in judge_replay, subagent_rung and review_replay

This commit is contained in:
2026-11-08 19:12:38 +01:00
parent 064ce09dcc
commit c042551aaf
5 changed files with 40 additions and 29 deletions
+3 -3
View File
@@ -23,10 +23,10 @@ USAGE = f"usage: subagent-rung [--plan] <model> <L>, L a level from 1 to {LEVELS
def agent_args(model: str, likelihood: int, planning: bool = False) -> str | None:
"""The Agent tool's model and effort for the rung likelihood picks from model's cheapest rung, never below it when planning; None for a model off the ladder."""
anchor = project_rung(model)
if anchor is None:
project = project_rung(model)
if project is None:
return None
return (planning_rung if planning else worker_rung)(anchor, likelihood).agent_args()
return (planning_rung if planning else worker_rung)(project, likelihood).agent_args()
def main(argv: list[str]) -> int: