Add stub of AI Catalog docs, linked to from errors
What does this MR do and why?
To smooth over the experience of interacting with the AI Catalog when a project does not meet the prerequisites being added in !205001 (merged).
This change updates the error messages to link to a small docs section that explains the prerequisites.
The docs section can be expanded on shortly.
Ideally, the list of projects available to be selected will be filtered by the correct criteria, but that would be in a follow-up that may take a number of days.
https://gitlab.com/gitlab-org/gitlab/-/issues/568176#note_2752874135
References
Screenshots or screen recordings
Note this video shows an earlier iteration before the text was turned into a proper link.
Screen_Recording_2025-09-18_at_11.30.31_am
How to set up and validate locally
Until !205001 (merged) merges, To QA you will need to create an integration branch of this branch and !205001 (merged) locally (merge them together into a new branch).
- Enable the
global_ai_catalogflag. - Visit http://gdk.test:3000/explore/ai-catalog/agents/
- Using a project that does not meet the prerequisites, attempt to:
- Create an agent for the project
- Add an existing agent to the project
- Duplicate an existing agent into a project
- For all of the above, you should see an error message that displays a link to the prerequisites section of the docs
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.
Related to #568176