Skip to content

Draft: Allow /libraries route to handle libraries JSON and build prompt

Anna Springfield requested to merge add-libraries-prompt into main

What does this merge request do and why?

Updates the /libraries route to allow a list of libraries to be sent in as parameters, from which a prompt can then be built using a prompt stored in the prompt registry.

Relates to https://gitlab.com/gitlab-org/code-creation/repository-x-ray/-/issues/24.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Merge request checklist

  • Tests added for new functionality. If not, please raise an issue to follow up.
  • Documentation added/updated, if needed.

Merge request reports