Skip to content

Display easy to read error messages for Duo Chat

What does this MR do and why?

Display easy to read error messages for Duo Chat

  • Update Duo Chat error messages so they are easy to understand and helpful.
  • Introduce error codes for easier debugging.
  • Display error codes with the message in the UI.
  • Update Duo Chat troubleshooting documentation to reflect these changes.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
image.png image.png

How to set up and validate locally

I tested it by asking a question about documentation while not having the right setup.

The other option is to force an error, for example adding a line raise Gitlab::Llm::AiGateway::Client::ConnectionError in ZeroShot::Executor.

Related to #460064 (closed)

Edited by Eva Kadlecová

Merge request reports