We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 324b222 commit 11c9cfdCopy full SHA for 11c9cfd
python/ray/llm/_internal/serve/deployments/routers/router.py
@@ -489,9 +489,9 @@ async def embeddings(self, body: EmbeddingRequest) -> Response:
489
result = await results.__anext__()
490
if isinstance(result, ErrorResponse):
491
raise OpenAIHTTPException(
492
- message=result.error.message,
493
- status_code=result.error.code,
494
- type=result.error.type,
+ message=result.message,
+ status_code=result.code,
+ type=result.type,
495
)
496
497
if isinstance(result, EmbeddingResponse):
0 commit comments