Refactor DuoChat Subscriptions to own component
What does this MR do and why?
This commit refactors the Duo Chat Integration to manage its GraphQl Subscriptions in a separate renderless vue component.
This refactor is needed to solve: #474242 The cancelling of the Subscriptions on prompt cancel will be handled in this follow-up MR: !165337 (closed)
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
No visual changes
How to set up and validate locally
- Setup Duo Chat: https://docs.gitlab.com/ee/development/ai_features/duo_chat.html#set-up-gitlab-duo-chat
- Make sure everything works as expected, answers are streaming in
Edited by Jannik Lehmann