mirror of
https://github.com/nesquena/hermes-webui.git
synced 2026-06-04 16:10:24 +00:00
test: add codex metadata=False case for reasoning efforts
- Covers the openai-codex + supports_reasoning=False path now that Codex routes through _models_dev_reasoning_efforts. - Mirrors the existing false-suppression test for symmetry. - 9/9 tests pass.
This commit is contained in:
@@ -95,6 +95,19 @@ def test_codex_gpt55_uses_models_dev_including_xhigh(monkeypatch):
|
||||
assert "xhigh" in result
|
||||
|
||||
|
||||
def test_codex_metadata_false_returns_empty(monkeypatch):
|
||||
_install_fake_models_dev(
|
||||
monkeypatch,
|
||||
lambda provider, model: SimpleNamespace(supports_reasoning=False),
|
||||
)
|
||||
|
||||
import api.config as cfg
|
||||
|
||||
assert cfg.resolve_model_reasoning_efforts(
|
||||
"gpt-5.5", provider_id="openai-codex"
|
||||
) == []
|
||||
|
||||
|
||||
def test_copilot_gpt55_caps_at_high(monkeypatch):
|
||||
import api.config as cfg
|
||||
|
||||
|
||||
Reference in New Issue
Block a user