mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-09 22:31:41 +00:00
* add has_client_credentials * MCPOAuth2TokenCache * init MCP Oauth2 constants * MCPOAuth2TokenCache * resolve_mcp_auth * test fixes * docs fix * address greptile review: min TTL, env-configurable constants, tests, docs - Fix zero-TTL edge case: floor at MCP_OAUTH2_TOKEN_CACHE_MIN_TTL (10s) - Make all MCP OAuth2 constants env-configurable via os.getenv() - Move test file to follow 1:1 mapping convention (test_oauth2_token_cache.py) - Add MCP OAuth doc page (mcp_oauth.md) with M2M and PKCE sections - Update FAQ in mcp.md to reflect M2M support - Add E2E test script and config Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix mypy lint * fix oauth2 * ui feat fixes * test M2M * test fix * ui feats * ui fixes * ui fix client ID * fix: backend endpoints * docs fix * fixes greptile --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
14 lines
340 B
YAML
14 lines
340 B
YAML
model_list:
|
|
- model_name: fake-model
|
|
litellm_params:
|
|
model: openai/fake
|
|
api_key: fake-key
|
|
|
|
mcp_servers:
|
|
test_oauth2_server:
|
|
url: "http://localhost:8765/mcp"
|
|
transport: "http"
|
|
auth_type: "oauth2"
|
|
client_id: "test-client"
|
|
client_secret: "test-secret"
|
|
token_url: "http://localhost:8765/oauth/token"
|