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
chore: merge main into litellm_prompt_injection_llm_api_check_dispatch
yucheng458943a7ac77
diff --cc litellm/proxy/utils.pyindex 768e1d9a27c,a3f9924ee55..dec5b9af2a9--- a/litellm/proxy/utils.py+++ b/litellm/proxy/utils.py@@@ -17,9 -26,22 +26,23 @@@ from dataclasses import dataclass, fielfrom datetime import date, datetime, timedelta, timezonefrom email.mime.multipart import MIMEMultipartfrom email.mime.text import MIMEText+ from functools import partial+from itertools import takewhilefrom types import MappingProxyType- from typing import TYPE_CHECKING, Any, ClassVar, Final, Literal, Optional, Protocol, TypeVar, Union, cast, overload+ from typing import (+ TYPE_CHECKING,+ Any,+ ClassVar,+ Final,+ Generic,+ Literal,+ Optional,+ Protocol,+ TypeVar,+ Union,+ cast,+ overload,+ )from typing_extensions import ReadOnly, TypedDict