Skip to content

Commit 11c9cfd

Browse files
committed
wip
Signed-off-by: Kourosh Hakhamaneshi <[email protected]>
1 parent 324b222 commit 11c9cfd

File tree

1 file changed

+3
-3
lines changed
  • python/ray/llm/_internal/serve/deployments/routers

1 file changed

+3
-3
lines changed

python/ray/llm/_internal/serve/deployments/routers/router.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -489,9 +489,9 @@ async def embeddings(self, body: EmbeddingRequest) -> Response:
489489
result = await results.__anext__()
490490
if isinstance(result, ErrorResponse):
491491
raise OpenAIHTTPException(
492-
message=result.error.message,
493-
status_code=result.error.code,
494-
type=result.error.type,
492+
message=result.message,
493+
status_code=result.code,
494+
type=result.type,
495495
)
496496

497497
if isinstance(result, EmbeddingResponse):

0 commit comments

Comments
 (0)