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' into feature/improve-gigachat-provider
KnyazSh8bf1f21c381b
diff --cc litellm/litellm_core_utils/litellm_logging.pyindex 0f283fe2dab,db7c1c7dfb4..6e09542430d--- a/litellm/litellm_core_utils/litellm_logging.py+++ b/litellm/litellm_core_utils/litellm_logging.py@@@ -5392,10 -5394,7 +5397,10 @@@ def get_standard_logging_object_payloaddef emit_standard_logging_payload(payload: StandardLoggingPayload):if os.getenv("LITELLM_PRINT_STANDARD_LOGGING_PAYLOAD"):- print(json.dumps(payload, indent=4), flush=True) # noqa: T201+ try:- print(json.dumps(payload, indent=4, default=str)) # noqa: T201++ print(json.dumps(payload, indent=4, default=str), flush=True) # noqa: T201+ except Exception as e: # noqa: BLE001+ verbose_logger.exception("Error serializing standard logging payload for debug output: {}".format(str(e)))def get_standard_logging_metadata(diff --cc litellm/proxy/_types.pyindex 38eea4d8b82,12466b525d6..dd6f2b4e9bd--- a/litellm/proxy/_types.py+++ b/litellm/proxy/_types.py@@@ -1004,9 -1006,9 +1007,10 @@@ class LiteLLM_ObjectPermissionBase(Liteagent_access_groups: Optional[List[str]] = Nonemodels: Optional[List[str]] = Nonesearch_tools: Optional[List[str]] = None+ mcp_tool_search_enabled: Optional[bool] = None+from litellm.models.team import BudgetLimitEntry as BudgetLimitEntry # noqa: E402from litellm.types.object_permission import ( # noqa: E402ObjectPermissionDict as ObjectPermissionDict,)