Route the worker's subagents by their task's R + C, and keep seats and the security pass on the project's rung
This commit is contained in:
@@ -11,6 +11,10 @@ class Rung:
|
||||
def flags(self) -> list[str]:
|
||||
return ["--model", self.model, *(["--effort", self.effort] if self.effort else [])]
|
||||
|
||||
def family(self) -> str:
|
||||
"""The model's family, such as opus, which the Agent tool takes as its model and runs that family's latest model; each rung names its family's latest, so the two match."""
|
||||
return self.model.split("-")[1]
|
||||
|
||||
# The archive records this wording, and loop_claude.routing.ROUTED reads it back to resume a chunk on its rung.
|
||||
def __str__(self) -> str:
|
||||
return f"{self.model} at {self.effort} effort" if self.effort else self.model
|
||||
|
||||
Reference in New Issue
Block a user