mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
init MCP Oauth2 constants
This commit is contained in:
parent
9b3fd6a83f
commit
b7ea7133f2
1 changed files with 5 additions and 0 deletions
|
|
@ -83,6 +83,11 @@ MAX_MCP_SEMANTIC_FILTER_TOOLS_HEADER_LENGTH = int(
|
|||
os.getenv("MAX_MCP_SEMANTIC_FILTER_TOOLS_HEADER_LENGTH", 150)
|
||||
)
|
||||
|
||||
# MCP OAuth2 Client Credentials Defaults
|
||||
MCP_OAUTH2_TOKEN_EXPIRY_BUFFER_SECONDS = 60
|
||||
MCP_OAUTH2_TOKEN_CACHE_MAX_SIZE = 200
|
||||
MCP_OAUTH2_TOKEN_CACHE_DEFAULT_TTL = 3600
|
||||
|
||||
LITELLM_UI_ALLOW_HEADERS = [
|
||||
"x-litellm-semantic-filter",
|
||||
"x-litellm-semantic-filter-tools",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue