mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-11-01 10:42:23 +01:00
fix(test): isolate test_tool_policy unit suite from external model endpoint state
This commit is contained in:
@@ -48,6 +48,7 @@ def _patch_loop_basics(monkeypatch):
|
||||
monkeypatch.setattr(al, "get_setting", lambda key, default=None: default, raising=False)
|
||||
monkeypatch.setattr(al, "get_mcp_manager", lambda: None, raising=False)
|
||||
monkeypatch.setattr(al, "estimate_tokens", lambda *a, **k: 10, raising=False)
|
||||
monkeypatch.setattr(al, "_configured_model_tool_surface_raw", lambda *a, **k: "", raising=False)
|
||||
|
||||
|
||||
def test_detects_strong_guide_only_turns():
|
||||
|
||||
Reference in New Issue
Block a user