mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
Update litellm/proxy/agent_endpoints/auth/agent_permission_handler.py
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
parent
883a8e0589
commit
65961988cb
1 changed files with 1 additions and 1 deletions
|
|
@ -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)}"
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue