This guide explains how to configure Qodo PR-Agent to use Abacus AI's RouteLLM API for automated code reviews in GitLab merge requests.
Qodo PR-Agent uses litellm for LLM routing. While Abacus AI provides an OpenAI-compatible API, configuring it through litellm's openai provider doesn't work correctly because:
- The
openaiprovider prependsopenai/to model names (e.g.,openai/gpt-5.1-codex-max) - Abacus AI rejects prefixed model names with "Invalid model" errors