Skip to content

[POC] Spike gitlab prompt manager

Eduardo Bonet requested to merge spike-gitlab-prompt-manager into main

What does this merge request do and why?

This POC implements the minimal necessary to AI gateway to fetch prompts from a GitLab instance

Adds two endpoints:

  • /v1/prompts/raw executes a prompt that is passed on the request, accepting variables
  • /v1/prompts/{promptName}/{promptVersion} fetches the prompt with name and version (also accepts latest) froma gitlab instance

This is the AI Gateway counterpart from gitlab-org/gitlab!150825 (closed)

Edited by Eduardo Bonet

Merge request reports