When an API request fails with "prompt is too long", the error response now includes errorDetails with the full exception message, providing more diagnostic context.
Evidence
Error details propagation (search for "errorDetails")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.