Fixes the summarize code changes not working with the content editor
What does this MR do and why?
Fixes a bug where the summarize code changes button would not work when the content editor is used.
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
Screen_Recording_2024-02-29_at_15.29.14
How to set up and validate locally
- Have AI features enabled
- Enable
add_ai_summary_for_new_mr
feature flag - Visit the create a new merge request form
Edited by Phil Hughes