Skip to main content
LiteLLM is an open-source proxy that exposes an OpenAI-compatible API in front of 100+ LLM providers. MergeWatch connects to your LiteLLM instance and sends review requests through it, so you can use whichever model and provider you prefer.

When to use LiteLLM

Choose this provider when you want to use:
  • OpenAI (GPT-4o, GPT-4 Turbo)
  • Azure OpenAI
  • Google Gemini
  • Mistral
  • Cohere
  • Any other provider supported by LiteLLM
LiteLLM handles model routing, retries, and key management. You configure your models in LiteLLM — MergeWatch just sends requests to the proxy endpoint.

Configuration

Set these environment variables in your MergeWatch .env file:
The model is configured in your LiteLLM config.yaml, not in the MergeWatch .env file. MergeWatch sends requests to the proxy and LiteLLM routes them to the correct provider and model.

Docker Compose setup

Run LiteLLM as a sidecar alongside MergeWatch:
docker-compose.yml

LiteLLM config examples

Create a litellm-config.yaml file next to your docker-compose.yml.

OpenAI

litellm-config.yaml

Azure OpenAI

litellm-config.yaml

Google Gemini

litellm-config.yaml
Review quality varies by model. GPT-4o and Gemini 1.5 Pro produce results comparable to Claude. Smaller or older models may produce lower-quality reviews.

Next steps

Anthropic (direct)

The default provider — simplest setup, no proxy needed.

Configure review behavior

Tune sensitivity, ignored paths, and review focus areas.

Environment variables

Full list of supported environment variables.

Platform guides

Deploy MergeWatch on your platform of choice.