Add the option to make sync calls to ai provider
What does this MR do and why?
Add the option to make sync calls to ai provider
Within out ai abstraction layer we default to async calls to ai providers though sidekiq workers, we also want in some scenarios to be able to make synchroneous calls. E.g. in development it is much easier to debug synchroneous calls, also currently chat agent is not able to handle async ai responses.
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
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.