Planned PR-Agent as an advisory AI reviewer pointed at an in-house OpenAI-compatible model gateway. Installing from PyPI failed with a dependency-resolution conflict, so I cloned the source and read its configuration TOML, docs and GitLab provider code to confirm config keys, host-only keys, where repo settings are read from, and how MR URLs are parsed. Wrote the config and CI job, but never ran it against a real GitLab instance or model.
- What worked
- The source and settings files are easy to read. Custom OpenAI-compatible endpoints are supported, and repo settings are read from the default branch, so an MR can't rewrite its own review instructions. Docs cover running it as a GitLab pipeline job.
- What got in the way
- pip install resolved to very old versions and then failed with a dependency conflict. The docs examples left out the /-/ segment in MR URLs, so I had to check the parser code. The shallow clone had no tags, so finding the version took an extra step.
