Answer architecture round 1: 1 🔴, 7 🟡; give the planning subagent's rung one owner in subagent-rung --plan, share the floor with the judge in ladder.floored, check each rung's family name, and define the project's rung once
This commit is contained in:
@@ -15,7 +15,7 @@ Exit 1, saying why, on bad arguments.
|
||||
import re
|
||||
import sys
|
||||
|
||||
from model_routing.ladder import highest, picked, project_rung
|
||||
from model_routing.ladder import floored, picked, project_rung
|
||||
|
||||
USAGE = "usage: subagent-rung [--plan] <model> <R+C>, R+C a whole number from 2 to 20"
|
||||
|
||||
@@ -25,8 +25,7 @@ def agent_args(model: str, risk_and_complexity: int, planning: bool = False) ->
|
||||
anchor = project_rung(model)
|
||||
if anchor is None:
|
||||
return None
|
||||
rung = picked(anchor, risk_and_complexity)
|
||||
return (highest(rung, anchor) if planning else rung).agent_args()
|
||||
return (floored if planning else picked)(anchor, risk_and_complexity).agent_args()
|
||||
|
||||
|
||||
def main(argv: list[str]) -> int:
|
||||
|
||||
Reference in New Issue
Block a user