mirror of
https://github.com/usestrix/strix.git
synced 2026-08-28 05:25:00 +00:00
test: add fallback settings fields to runner test stubs
This commit is contained in:
parent
cd15e9e8c3
commit
009cc94220
4 changed files with 8 additions and 0 deletions
|
|
@ -28,6 +28,8 @@ def _wire_runner(monkeypatch: pytest.MonkeyPatch, tmp_path: Any) -> None:
|
|||
timeout=300,
|
||||
prompt_cache=True,
|
||||
extra_headers=None,
|
||||
fallback_model=None,
|
||||
denied_retries=3,
|
||||
),
|
||||
runtime=types.SimpleNamespace(max_context_images=3),
|
||||
)
|
||||
|
|
|
|||
|
|
@ -42,6 +42,8 @@ async def test_persistent_rate_limit_stops_gracefully(
|
|||
timeout=300,
|
||||
prompt_cache=True,
|
||||
extra_headers=None,
|
||||
fallback_model=None,
|
||||
denied_retries=3,
|
||||
),
|
||||
runtime=types.SimpleNamespace(max_context_images=3),
|
||||
)
|
||||
|
|
|
|||
|
|
@ -50,6 +50,8 @@ def _patch_engine_scaffold(
|
|||
timeout=300,
|
||||
prompt_cache=True,
|
||||
extra_headers=None,
|
||||
fallback_model=None,
|
||||
denied_retries=3,
|
||||
),
|
||||
runtime=types.SimpleNamespace(max_context_images=3),
|
||||
)
|
||||
|
|
|
|||
|
|
@ -52,6 +52,8 @@ def _settings() -> Any:
|
|||
timeout=300,
|
||||
prompt_cache=True,
|
||||
extra_headers=None,
|
||||
fallback_model=None,
|
||||
denied_retries=3,
|
||||
),
|
||||
runtime=types.SimpleNamespace(max_context_images=3),
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue