From a4f2e42fbe85e8ef28ef7a0063d7da8d30a48970 Mon Sep 17 00:00:00 2001 From: fangliquanflq Date: Sun, 6 Sep 2026 21:27:18 +0800 Subject: [PATCH] test(agent): update custom runtime mock contract --- tests/run_agent/test_provider_parity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run_agent/test_provider_parity.py b/tests/run_agent/test_provider_parity.py index d27b0a2b22..5deba0ebcd 100644 --- a/tests/run_agent/test_provider_parity.py +++ b/tests/run_agent/test_provider_parity.py @@ -793,7 +793,7 @@ class TestAuxiliaryClientProviderPriority: from agent.auxiliary_client import get_text_auxiliary_client with patch("agent.auxiliary_client._read_nous_auth", return_value=None), \ patch("agent.auxiliary_client._resolve_custom_runtime", - return_value=("http://localhost:1234/v1", "local-key")), \ + return_value=("http://localhost:1234/v1", "local-key", "openai-compatible")), \ patch("agent.auxiliary_client.OpenAI") as mock: client, model = get_text_auxiliary_client() assert mock.call_args.kwargs["base_url"] == "http://localhost:1234/v1"