Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion tests/test_configure_native_lm.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ def setup_lm(self, **params):
self.calls.append(params)


def test_configure_native_lm_uses_playbook_model(tmp_path: Path):
def test_configure_native_lm_uses_playbook_model(tmp_path: Path, monkeypatch):
# CI has no Ollama server; the reachability probe is covered elsewhere.
monkeypatch.setattr(
"superoptix.runners.dspy_runner.ensure_local_model_reachable",
lambda *a, **k: None,
)
playbook = tmp_path / "p.yaml"
playbook.write_text(
"spec:\n language_model:\n provider: ollama\n model: qwen2.5:1.5b\n"
Expand Down