[fix]. Wire runner reasoning effort
This commit is contained in:
@@ -59,6 +59,17 @@ def test_build_install_command_chatgpt_mode_copies_auth_json(monkeypatch: pytest
|
||||
|
||||
assert 'printf "%s" "$CODEX_AUTH_JSON_B64" | base64 -d > /root/.codex/auth.json' in command
|
||||
assert "codex exec --skip-git-repo-check --json -m gpt-5.3-codex" in command
|
||||
assert f"--reasoning-effort {settings.openai_reasoning_effort}" in command
|
||||
|
||||
|
||||
def test_build_install_command_includes_configured_reasoning_effort(monkeypatch: pytest.MonkeyPatch) -> None:
|
||||
monkeypatch.setenv("OPENAI_REASONING_EFFORT", "medium")
|
||||
get_settings.cache_clear()
|
||||
settings = get_settings()
|
||||
|
||||
command = _build_install_and_run_command(settings)
|
||||
|
||||
assert "--reasoning-effort medium" in command
|
||||
|
||||
|
||||
def test_chatgpt_mode_requires_existing_auth_json(monkeypatch: pytest.MonkeyPatch, tmp_path: Path) -> None:
|
||||
|
||||
Reference in New Issue
Block a user