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
refactor(policy_engine): shorten attachment priority field descriptions
Devin AIf5dea4de7655
diff --git a/litellm/types/proxy/policy_engine/policy_types.py b/litellm/types/proxy/policy_engine/policy_types.pyindex 8e96cd81772..da7d664f9df 100644--- a/litellm/types/proxy/policy_engine/policy_types.py+++ b/litellm/types/proxy/policy_engine/policy_types.py@@ -290,7 +290,7 @@ class PolicyAttachment(BaseModel):)priority: int | None = Field(default=None,- description="Explicit execution order. Attachments with a priority run before those without, lower first; ties fall back to scope specificity.",+ description="Explicit execution order, lower runs first. Prioritised attachments run before those without one.",)model_config = ConfigDict(extra="forbid")diff --git a/litellm/types/proxy/policy_engine/resolver_types.py b/litellm/types/proxy/policy_engine/resolver_types.pyindex 74cda47ff96..2ef79366c91 100644--- a/litellm/types/proxy/policy_engine/resolver_types.py+++ b/litellm/types/proxy/policy_engine/resolver_types.py@@ -307,7 +307,7 @@ class PolicyAttachmentCreateRequest(BaseModel):)priority: int | None = Field(default=None,- description="Explicit execution order. Attachments with a priority run before those without, lower first; ties fall back to scope specificity.",+ description="Explicit execution order, lower runs first. Prioritised attachments run before those without one.",)@@ -323,7 +323,7 @@ class PolicyAttachmentDBResponse(BaseModel):tags: list[str] = Field(default_factory=list, description="Tag patterns.")priority: int | None = Field(default=None,- description="Explicit execution order. Attachments with a priority run before those without, lower first; ties fall back to scope specificity.",+ description="Explicit execution order, lower runs first. Prioritised attachments run before those without one.",)created_at: datetime | None = Field(default=None, description="When the attachment was created.")updated_at: datetime | None = Field(default=None, description="When the attachment was last updated.")