The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
Merge branch 'litellm_internal_staging' of https://github.com/BerriAI/litellm into litellm_fix_agent_mcp_grants
mateo-berri45988143bcea
diff --cc basedpyright-code-budget.jsonindex d8e47189716,3f96531cf6f..96934897cb2--- a/basedpyright-code-budget.json+++ b/basedpyright-code-budget.json@@@ -54,7 -54,7 +54,7 @@@"limit": 0},"reportMissingParameterType": {- "limit": 5599- "limit": 5601++ "limit": 5597},"reportMissingTypeArgument": {"limit": 15290@@@ -99,7 -99,7 +99,7 @@@"limit": 0},"reportUnknownArgumentType": {- "limit": 44358- "limit": 44362++ "limit": 44355},"reportUnknownLambdaType": {"limit": 109@@@ -108,10 -108,10 +108,10 @@@"limit": 38332},"reportUnknownParameterType": {- "limit": 19623- "limit": 19625++ "limit": 19621},"reportUnknownVariableType": {- "limit": 29858- "limit": 29861++ "limit": 29855},"reportUnnecessaryCast": {"limit": 111diff --cc ruff-strict-budget.jsonindex 0eefe40d5a5,4fcf650a8bc..f2f6fda2cb2--- a/ruff-strict-budget.json+++ b/ruff-strict-budget.json@@@ -1,6 -1,6 +1,6 @@@{"ANN001": {- "limit": 2981- "limit": 2985++ "limit": 2979},"ANN002": {"limit": 71@@@ -57,7 -57,7 +57,7 @@@"limit": 3},"BLE001": {- "limit": 2915- "limit": 2917++ "limit": 2914},"C401": {"limit": 8diff --cc type-discipline-budget.jsonindex 9d282658be7,f3c4c7760c6..30b5d35e350--- a/type-discipline-budget.json+++ b/type-discipline-budget.json@@@ -1,9 -1,9 +1,9 @@@{"LIT001": {- "limit": 22334+ "limit": 22330},"LIT002": {- "limit": 26762- "limit": 26763++ "limit": 26759},"LIT003": {"limit": 261@@@ -27,7 -27,7 +27,7 @@@"limit": 0},"LIT010": {- "limit": 16474- "limit": 16480++ "limit": 16472},"LIT011": {"limit": 5520diff --cc ui/litellm-dashboard/src/components/networking.tsxindex 6e45e4acdb1,eaffa2b4802..2599f156923--- a/ui/litellm-dashboard/src/components/networking.tsx+++ b/ui/litellm-dashboard/src/components/networking.tsx@@@ -6876,13 -6886,13 +6887,14 @@@ export const buildMcpOAuthAuthorizeUrlconst base = getProxyBaseUrl();const normalizedServerId = encodeURIComponent(serverId.trim());const url = `${base}/v1/mcp/server/oauth/${normalizedServerId}/authorize`;-- const params = new URLSearchParams({++ const authorizeParams = {redirect_uri: redirectUri,state,response_type: "code",code_challenge: codeChallenge,code_challenge_method: "S256",-- });++ };++ const params = new URLSearchParams(authorizeParams);if (clientId && clientId.trim().length > 0) {params.set("client_id", clientId);}