Sort the file_writes imports and drop a docstring restating project_models
This commit is contained in:
@@ -4,8 +4,8 @@ import sys
|
||||
|
||||
from loop_claude import human
|
||||
from loop_claude.checkout import project_name
|
||||
from loop_claude.outcome import Stop
|
||||
from loop_claude.file_writes import replace_json
|
||||
from loop_claude.outcome import Stop
|
||||
|
||||
|
||||
@dataclasses.dataclass(frozen=True)
|
||||
@@ -15,7 +15,6 @@ class Models:
|
||||
|
||||
|
||||
def project_models(root, paths, env):
|
||||
"""LOOP_CLAUDE_JUDGE_MODEL and LOOP_CLAUDE_WORKER_MODEL, each falling back to the project's saved model."""
|
||||
judge, worker = env.get("LOOP_CLAUDE_JUDGE_MODEL"), env.get("LOOP_CLAUDE_WORKER_MODEL")
|
||||
if judge and worker:
|
||||
return Models(judge, worker)
|
||||
|
||||
Reference in New Issue
Block a user