Rename loop-claude to build-release, with no alias
This commit is contained in:
@@ -62,7 +62,7 @@ def run_claude(args: list[str], cwd: str, prompt: str) -> subprocess.CompletedPr
|
||||
|
||||
|
||||
def project_rung(home: pathlib.Path, git: Git) -> Rung | Failure:
|
||||
"""The cheapest rung for the model loop-claude runs the project on. The routing ladder is that of the project the process runs in."""
|
||||
"""The cheapest rung for the model build-release runs the project on. The routing ladder is that of the project the process runs in."""
|
||||
common = git("rev-parse", "--path-format=absolute", "--git-common-dir")
|
||||
if isinstance(common, Failure):
|
||||
return common
|
||||
@@ -73,7 +73,7 @@ def project_rung(home: pathlib.Path, git: Git) -> Rung | Failure:
|
||||
if isinstance(models, Failure):
|
||||
return models
|
||||
if key not in models:
|
||||
return Failure(f"{saved} names no model for {key}: run loop-claude in the project once, which asks for it.")
|
||||
return Failure(f"{saved} names no model for {key}: run build-release in the project once, which asks for it.")
|
||||
ladder = project_ladder(None, home)
|
||||
if isinstance(ladder, Failure):
|
||||
return ladder
|
||||
|
||||
Reference in New Issue
Block a user