[Frontend] Update OpenAI error response to upstream format (#22099)

Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>
This commit is contained in:
Moritz Sanft
2025-08-07 08:06:00 +02:00
committed by GitHub
parent cbc8457b26
commit 370661856b
10 changed files with 73 additions and 67 deletions

View File

@@ -302,7 +302,7 @@ async def run_request(serving_engine_func: Callable,
id=f"vllm-{random_uuid()}",
custom_id=request.custom_id,
response=BatchResponseData(
status_code=response.code,
status_code=response.error.code,
request_id=f"vllm-batch-{random_uuid()}"),
error=response,
)