Drop LEGACY_WORKER so route_from reads only JSON worker lines

This commit is contained in:
2026-11-08 19:03:59 +01:00
parent 62d57344d8
commit c424fa66ae
6 changed files with 23 additions and 38 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ class Rung:
return Rung(model, effort)
return Rung(family.model, effort) if effort else family
# The one spelling of a rung. loop-claude hands it to rule-hook in environment variables, and archive lines written before route.Route.worker_line hold it, so parse must keep reading it.
# The one spelling of a rung. loop-claude hands it to rule-hook in environment variables, so parse must keep reading it.
def __str__(self) -> str:
return f"{self.model} at {self.effort} effort" if self.effort else self.model