mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-22 00:31:44 +00:00
refactor(policy_engine): shorten attachment priority field descriptions
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
21ffbdc7ea
commit
f5dea4de76
2 changed files with 3 additions and 3 deletions
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -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.")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue