From ae29104e1237c19504a23231a41db7d4e0691fe9 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Fri, 7 Aug 2026 21:09:25 +0000 Subject: [PATCH] test(proxy): expect tuple from get_agent_list after registry refactor PR #36020 (eb3c8c168f) switched AgentRegistry.get_agent_list from list to tuple to satisfy the mutable-collection budget, but this assertion was left comparing against []. The stale check has failed every Proxy API Endpoints run since that merge; realigning it with the new return type restores the job without changing behavior Co-authored-by: Krrish Dholakia --- tests/test_litellm/proxy/proxy_server/test_proxy_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_litellm/proxy/proxy_server/test_proxy_config.py b/tests/test_litellm/proxy/proxy_server/test_proxy_config.py index 30156849628..91a7e1bc2c2 100644 --- a/tests/test_litellm/proxy/proxy_server/test_proxy_config.py +++ b/tests/test_litellm/proxy/proxy_server/test_proxy_config.py @@ -2638,4 +2638,4 @@ async def test_ProxyConfig__init_non_llm_configs_empty_agents_key_clears_remembe assert clean_agent_registry.config_agents == () clean_agent_registry.load_agents_from_db_and_config(db_agents=None) - assert clean_agent_registry.get_agent_list() == [] + assert clean_agent_registry.get_agent_list() == ()