Skip to main content

llm_http_error

Function llm_http_error 

Source
fn llm_http_error(status: StatusCode, error_text: String) -> ChatbotError
Expand description

Builds the error for a failed LLM HTTP response, parsing error_text as an Azure error body when possible and attaching it as the error’s Azure source.