From 65961988cba45be734c08e8d9580f46f61937a42 Mon Sep 17 00:00:00 2001 From: yuneng-jiang Date: Fri, 20 Feb 2026 18:13:50 -0800 Subject: [PATCH] Update litellm/proxy/agent_endpoints/auth/agent_permission_handler.py Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- litellm/proxy/agent_endpoints/auth/agent_permission_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/proxy/agent_endpoints/auth/agent_permission_handler.py b/litellm/proxy/agent_endpoints/auth/agent_permission_handler.py index b7557c883eb..a25f52ce7ac 100644 --- a/litellm/proxy/agent_endpoints/auth/agent_permission_handler.py +++ b/litellm/proxy/agent_endpoints/auth/agent_permission_handler.py @@ -266,7 +266,7 @@ class AgentRequestHandler: except Exception as e: # litellm-dashboard is the default UI team and will never have agents; # skip noisy warnings for it. - if user_api_key_auth.team_id != "litellm-dashboard": + if user_api_key_auth.team_id != UI_SESSION_TOKEN_TEAM_ID: verbose_logger.warning( f"Failed to get allowed agents for team: {str(e)}" )