Adding settings button and agent data to chat view
What does this MR do and why?
This MR updates the AI Agents chat view to load the agent data from GraphQL, and adds a Settings
button which links to the edit view.
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
Before | After |
---|---|
How to set up and validate locally
-
Ensure you have an EE license activated
-
Enable the feature flag
Feature.enable(:agent_registry)
-
Load
/-/ml/agents
for any project (for example/flightjs/Flight/-/ml/agents
) and clickCreate agent
-
Input an Agent Name and Prompt and click
Create agent
. -
You'll be redirected to the chat view. Ensure the name of your agent is shown in the top left corner and that the settings button displays in the top right corner
-
Click the settings button and ensure you are directed to the edit view