Overview Q & A Rating & Review
Ubiquity AI PR Reviewer (Ollama)
This Azure DevOps extension adds a pipeline task that can post AI-generated code review comments directly on pull requests.
What it does
Reads PR changes (git diff) from the build agent workspace
Sends the diff + file content + rules to an Ollama/OpenAI-compatible HTTP endpoint
Posts the model’s response as PR comment threads (requires Build Service permission)
Task (YAML)
- task: UbiquityAiPrReview@1
inputs:
ollama_endpoint: $(OllamaEndpoint) # e.g. http://YOUR_HOST:11434/api/chat
ai_model: $(OllamaModel) # e.g. yarn-mistral:7b-128k
debug_logging: true
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
Notes
The build agent must be able to reach your Ollama endpoint (Microsoft-hosted agents cannot reach your laptop localhost).
Derived from teriansilva/azure-devops-ollama-code-reviewer (MIT) and extended for Ubiquity AI.