simplify(compat): models — drop 52 re-exports from hermes_cli.models, repoint 16 callers + 41 test files

This commit is contained in:
Teknium
2026-09-03 13:48:49 -07:00
parent e3ab65fe80
commit 7b8c11bcf7
63 changed files with 396 additions and 458 deletions
@@ -199,7 +199,7 @@ class TestOllamaModelSupportsThinking:
monkeypatch.setattr(httpx, "Client", _Client)
def test_thinking_capability_true(self, monkeypatch):
from hermes_cli.models import ollama_model_supports_thinking
from hermes_cli.models_local import ollama_model_supports_thinking
self._patch_show(monkeypatch, capabilities=["completion", "tools", "thinking"])
assert (
@@ -211,7 +211,7 @@ class TestOllamaModelSupportsThinking:
def test_probe_failure_returns_none(self, monkeypatch):
from hermes_cli.models import ollama_model_supports_thinking
from hermes_cli.models_local import ollama_model_supports_thinking
self._patch_show(monkeypatch, status=404)
assert (
@@ -219,7 +219,7 @@ class TestOllamaModelSupportsThinking:
)
def test_exception_returns_none(self, monkeypatch):
from hermes_cli.models import ollama_model_supports_thinking
from hermes_cli.models_local import ollama_model_supports_thinking
self._patch_show(monkeypatch, raise_exc=RuntimeError("boom"))
assert (