ray.serve.llm.openai_api_models.ErrorResponse#
- pydantic model ray.serve.llm.openai_api_models.ErrorResponse[source]#
The returned response in case of an error.
PublicAPI (alpha): This API is in alpha and may change before becoming stable.
Show JSON schema
{ "title": "ErrorResponse", "description": "The returned response in case of an error.\n\n**PublicAPI (alpha):** This API is in alpha and may change before becoming stable.", "type": "object", "properties": { "message": { "title": "Message", "type": "string" }, "internal_message": { "title": "Internal Message", "type": "string" }, "code": { "title": "Code", "type": "integer" }, "type": { "title": "Type", "type": "string" }, "param": { "default": {}, "title": "Param", "type": "object" }, "original_exception": { "anyOf": [ {}, { "type": "null" } ], "default": null, "title": "Original Exception" } }, "required": [ "message", "internal_message", "code", "type" ] }
- field original_exception: Annotated[Optional[Any], Field(exclude=True)] = None#