From 8b6dd27cdb55ecebdef20699e6430986cafc4636 Mon Sep 17 00:00:00 2001 From: kshitij <82637225+kshitijk4poor@users.noreply.github.com> Date: Fri, 7 Aug 2026 15:50:38 +0530 Subject: [PATCH] test(auxiliary): update _resolve_auto patch to _resolve_auto_route The PR renamed _resolve_auto to _resolve_auto_route (3-tuple return). This test patches the resolver to mock the auto-detection chain, but was still patching the old _resolve_auto name. The patch never fired, so the test fell through to the real auto-detection (which finds no providers in CI's hermetic env). Update patch target to _resolve_auto_route with the 3-tuple return value. --- tests/agent/test_auxiliary_main_first.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/agent/test_auxiliary_main_first.py b/tests/agent/test_auxiliary_main_first.py index 6b19337d0fdca..47032751362f9 100644 --- a/tests/agent/test_auxiliary_main_first.py +++ b/tests/agent/test_auxiliary_main_first.py @@ -126,8 +126,8 @@ class TestResolveAutoMainFirst: "agent.auxiliary_client._read_main_model", return_value="claude-opus-4-8", ) as mock_read_main_model, patch( - "agent.auxiliary_client._resolve_auto", - return_value=(runtime_client, "gpt-5.5"), + "agent.auxiliary_client._resolve_auto_route", + return_value=(runtime_client, "gpt-5.5", "openai-codex"), ) as mock_resolve_auto: from agent.auxiliary_client import resolve_provider_client