When Azure OpenAI’s Images API (DALL‑E 3) rejects a request due to a content policy violation, LiteLLM…
When Azure OpenAI’s Images API (DALL‑E 3) rejects a request due to a content policy violation, LiteLLM…: a task in LegoFlow-SWE (Harbor dataset). Currently LiteLLM maps this to a generic BadRequestError (or similar) and the only information preserved is a bland “The request payload is malformed or…
The task
Currently LiteLLM maps this to a generic `BadRequestError` (or similar) and the only information preserved is a bland *“The request payload is malformed or invalid.”* message. The nested `inner_error`, the `content_filter_results` with their `categories` (hate, violence, etc.), the per-category `severity` and…
Part of Lego-X/LegoFlow-SWE.