Skip to content

The agent that grows with you

test: strip-retry walk uses a model the aux path still sends temperature to

teknium170aed31128ba
diff --git a/tests/agent/test_injected_param_strip_retry_registry.py b/tests/agent/test_injected_param_strip_retry_registry.py
index c3c719d2fc4..867e8dd831f 100644
--- a/tests/agent/test_injected_param_strip_retry_registry.py
+++ b/tests/agent/test_injected_param_strip_retry_registry.py
@@ -206,11 +206,13 @@ class _FlakyClient:
def _aux_patches(client):
+ # gpt-4.1: a model the aux path still SENDS temperature to. gpt-5.x omits it up front
+ # (#51083), which would leave the reactive strip rung nothing to strip.
return (
patch("agent.auxiliary_client._resolve_task_provider_model",
- return_value=("openai-codex", "gpt-5.5", None, None, None)),
+ return_value=("openai-codex", "gpt-4.1", None, None, None)),
patch("agent.auxiliary_client._get_cached_client",
- return_value=(client, "gpt-5.5")),
+ return_value=(client, "gpt-4.1")),
patch("agent.auxiliary_client._validate_llm_response",
side_effect=lambda resp, _task, **_kw: resp),
)