Skip to content

Vue router for AI Agents

Darby Frey requested to merge update-ai-agent into master

What does this MR do and why?

The AI Agents section was originally set up with separate Rails controller actions for each page, and separate Vue apps to load the UI on each page. This MR brings the interface together into a single Vue app that uses the Vue router to move between interfaces. See the gif below for a preview of the UI.

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

2024-02-02_17.07.42

How to set up and validate locally

  1. Ensure you have an EE license activated

  2. Enable the feature flag

    Feature.enable(:agent_registry)
  3. Navigate to <project>/-/ml/agents and ensure that the empty state is loading correctly

  4. Click on 'Create agent'

  5. Create an agent (name cannot have spaces, prompt can be anything)

  6. Navigate to <project>/-/ml/agents and ensure the agent list shows up with the item that was just created

Edited by Darby Frey

Merge request reports