MCPcopy Create free account
hub / github.com/BerriAI/litellm / token

Function token

scripts/test_tool_allowlist_script.py:76–85  ·  view source on GitHub ↗
(metadata=None, team_metadata=None)

Source from the content-addressed store, hash-verified

74 from litellm.proxy.auth.auth_checks import check_tools_allowlist
75
76 def token(metadata=None, team_metadata=None):
77 return UserAPIKeyAuth(
78 api_key="test-key",
79 user_id="user",
80 team_id="team",
81 org_id=None,
82 models=["*"],
83 metadata=metadata or {},
84 team_metadata=team_metadata or {},
85 )
86
87 print("=== check_tools_allowlist (auth) ===\n")
88

Callers 1

Calls 1

UserAPIKeyAuthClass · 0.90

Tested by

no test coverage detected