Loading
Use duo planner agent for work item summary
What does this MR do and why?
Use duo planner agent for work item summary
Instead of the legacy vue component and using the default Chat agent for summarizing work items, we introduce a new component that can use specific Agents by name. This commit removes the FF to release the feature to all users.
Changelog: added
References
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
- Enable AI features and make sure you have access to both classic and agentic chat
- Create or navigate to an issue with comments. You will need to have the
work_item_planning_viewFF set to false - Visit the issue page (e.g.,
http://gdk.test:3000/gitlab-org/gitlab-test/-/issues/1). You know this works when you see "Issues" under the Plan menu and not "Work Item" - Verify the "View summary" button appears in the Activity section header with the tanuki-ai icon
- Click the "View summary" button and verify:
- The Duo Chat panel opens
- A new chat session starts
- The Planner agent is selected
- The summarization command is queued and executed
- Repeat steps 3-5 for a work item to verify the component works in both contexts. Turn on the FF
work_item_planning_view - Verify tracking events are fired when clicking the button (check browser console or monitoring)
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Frédéric Caplette