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
fix linting
Ishaan Jaffer4e8c6d1b1004
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.jsonindex 6aeb51d5817..485bee4f191 100644--- a/litellm/model_prices_and_context_window_backup.json+++ b/litellm/model_prices_and_context_window_backup.json@@ -21488,6 +21488,20 @@"supports_tool_choice": true,"supports_web_search": true},+ "moonshot/kimi-k2.5": {+ "cache_read_input_token_cost": 1e-07,+ "input_cost_per_token": 6e-07,+ "litellm_provider": "moonshot",+ "max_input_tokens": 262144,+ "max_output_tokens": 262144,+ "max_tokens": 262144,+ "mode": "chat",+ "output_cost_per_token": 3e-06,+ "source": "https://platform.moonshot.ai/docs/pricing/chat",+ "supports_function_calling": true,+ "supports_tool_choice": true,+ "supports_vision": true+ },"moonshot/kimi-latest": {"cache_read_input_token_cost": 1.5e-07,"input_cost_per_token": 2e-06,diff --git a/litellm/proxy/_experimental/mcp_server/semantic_tool_filter.py b/litellm/proxy/_experimental/mcp_server/semantic_tool_filter.pyindex c83ef13a64a..b01bf142385 100644--- a/litellm/proxy/_experimental/mcp_server/semantic_tool_filter.py+++ b/litellm/proxy/_experimental/mcp_server/semantic_tool_filter.py@@ -8,7 +8,6 @@ from typing import TYPE_CHECKING, Any, Dict, List, Optionalfrom litellm._logging import verbose_loggerif TYPE_CHECKING:- from mcp.types import Tool as MCPToolfrom semantic_router.routers import SemanticRouterfrom litellm.router import Router@@ -88,8 +87,8 @@ class SemanticMCPToolFilter:description = tool.get("description", name)else:# MCPTool object- name = tool.name- description = tool.description or tool.name+ name = str(tool.name)+ description = str(tool.description) if tool.description else str(tool.name)return name, description