The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(agent): update custom runtime mock contract
fangliquanflqa4f2e42fbe85
diff --git a/tests/run_agent/test_provider_parity.py b/tests/run_agent/test_provider_parity.pyindex d27b0a2b22c..5deba0ebcd1 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_clientwith 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"