[ROCm][CI] Stabilize 400 error return code for invalid schema inputs (#43016)
Signed-off-by: Andreas Karatzas <akaratza@amd.com>
This commit is contained in:
@@ -909,7 +909,9 @@ class BatchChatCompletionRequest(OpenAIBaseModel):
|
||||
- The ``n`` parameter must be 1 (or omitted).
|
||||
"""
|
||||
|
||||
messages: list[list[ChatCompletionMessageParam]] = Field(..., min_length=1)
|
||||
messages: list[Annotated[list[ChatCompletionMessageParam], Field(min_length=1)]] = (
|
||||
Field(..., min_length=1)
|
||||
)
|
||||
model: str | None = None
|
||||
|
||||
# Shared sampling / generation fields — mirror ChatCompletionRequest.
|
||||
|
||||
Reference in New Issue
Block a user