Skip to content

The agent that grows with you

test: oneshot stub module provides resolve_runtime_with_fallback

teknium1e0c52f4a533c
diff --git a/tests/hermes_cli/test_tui_resume_flow.py b/tests/hermes_cli/test_tui_resume_flow.py
index e008ed43028..608c9d18127 100644
--- a/tests/hermes_cli/test_tui_resume_flow.py
+++ b/tests/hermes_cli/test_tui_resume_flow.py
@@ -194,13 +194,16 @@ def test_oneshot_wires_session_db_for_recall(monkeypatch):
"hermes_cli.runtime_provider",
mod(
"hermes_cli.runtime_provider",
- resolve_runtime_provider=lambda **_kwargs: {
- "api_key": "k",
- "base_url": "u",
- "provider": "p",
- "api_mode": "chat_completions",
- "credential_pool": None,
- },
+ resolve_runtime_with_fallback=lambda _cfg, **_kwargs: (
+ {
+ "api_key": "k",
+ "base_url": "u",
+ "provider": "p",
+ "api_mode": "chat_completions",
+ "credential_pool": None,
+ },
+ None,
+ ),
),
)
monkeypatch.setitem(