Handle errors in AI gateway client
What does this MR do and why?
Handle errors in AI gateway client.
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 |
---|---|
How to set up and validate locally
- setup AI according to the docs
- do not set up ENV with AI Gateway local address (we need to trigger any error). Alternatively, delete the ENV reference from this method
- on master - make duo chat query
- response should look like the "before" state
- switch to this branch and repeat making duo chat query
- observe if results are the same as in after state.
solves #434927 (closed)
Edited by Gosia Ksionek