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(proxy): mark validation error TypedDict fields ReadOnly
ryanb0acda28256d
diff --git a/litellm/proxy/proxy_server.py b/litellm/proxy/proxy_server.pyindex 88844c04e74..04145eb68ef 100644--- a/litellm/proxy/proxy_server.py+++ b/litellm/proxy/proxy_server.py@@ -1788,9 +1788,9 @@ class _ExceptionRow(TypedDict, total=False):class _ValidationErrorDetail(TypedDict):- type: str- loc: tuple[int | str, ...]- msg: str+ type: ReadOnly[str]+ loc: ReadOnly[tuple[int | str, ...]]+ msg: ReadOnly[str]def _is_length_error_of_rejected_items(error: _ValidationErrorDetail, errors: Sequence[_ValidationErrorDetail]) -> bool: