Most LLM failures are easy to describe and surprisingly hard to reproduce.

A user reports that the model returned an empty answer. A tool call disappeared halfway through a stream. One provider rejected a request that worked everywhere else.

Then I open the logs and find something like this:

LLM request failed: 400 Bad Request

Enter fullscreen mode