[Cohere] Bound remaining request priorities to the MessagePack int64 range (#56146)

Signed-off-by: Taneem Ibrahim <taneem.ibrahim@gmail.com>
This commit is contained in:
Taneem Ibrahim
2026-09-09 18:57:01 -04:00
committed by GitHub
parent 83252ea899
commit 4ebf61ebda
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -170,7 +170,7 @@ class CohereChatV2Request(BaseModel):
thinking: Thinking | None = None
# Scheduling
priority: int | None = None
priority: int | None = Field(default=None, ge=-(2**63), le=2**63 - 1)
# vLLM-specific extensions (not in Cohere spec). These mirror what the
# Anthropic and OpenAI surfaces already expose so V2 callers can reach