From 8d58ce68ce661bff64268926d2ed7d848e4861ed Mon Sep 17 00:00:00 2001 From: Vitalii Mishchenko Date: Thu, 14 May 2026 16:34:34 -0700 Subject: [PATCH 1/2] Update live status to use simplified haiku model alias --- src/draft/steps/implement_spec/_live_status.py | 2 +- tests/draft/test_live_status.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/draft/steps/implement_spec/_live_status.py b/src/draft/steps/implement_spec/_live_status.py index 4e48b5d..d0db1ca 100644 --- a/src/draft/steps/implement_spec/_live_status.py +++ b/src/draft/steps/implement_spec/_live_status.py @@ -3,7 +3,7 @@ from pathlib import Path INTERVAL = 20 -MODEL = "claude-3-5-haiku-latest" +MODEL = "haiku" TAIL_BYTES = 4096 MIN_BYTES = 200 MAX_CHARS = 30 diff --git a/tests/draft/test_live_status.py b/tests/draft/test_live_status.py index d124ab3..8ce615a 100644 --- a/tests/draft/test_live_status.py +++ b/tests/draft/test_live_status.py @@ -139,7 +139,7 @@ def test_tick_file_grows_calls_run_llm(tmp_path): s._tick() call_kwargs = engine.run_llm.call_args[1] assert call_kwargs["log_path"] is None - assert call_kwargs["extra_args"] == ["--model", "claude-3-5-haiku-latest"] + assert call_kwargs["extra_args"] == ["--model", "haiku"] assert call_kwargs["allowed_tools"] == [] assert call_kwargs["timeout"] == 10 assert "x" * 10 in call_kwargs["prompt"] From be5e0a6b91458d013a8b1f36529148bf91a4c135 Mon Sep 17 00:00:00 2001 From: Vitalii Mishchenko Date: Thu, 14 May 2026 16:38:17 -0700 Subject: [PATCH 2/2] Fix model --- src/draft/steps/open_pr/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/draft/steps/open_pr/__init__.py b/src/draft/steps/open_pr/__init__.py index 369d37d..0893ccf 100644 --- a/src/draft/steps/open_pr/__init__.py +++ b/src/draft/steps/open_pr/__init__.py @@ -126,7 +126,7 @@ def run(self, ctx, engine, lifecycle, step_metrics): "--permission-mode", "acceptEdits", "--model", - "claude-3-5-haiku-latest", + "haiku", ], timeout=cfg["timeout"], )