Overview Q & A Rating & Review
Description
Unleash the power of AI in your development lifecycle! This extension integrates the Flow Code Reviewer directly into your Azure DevOps pipelines, transforming your pull request reviews with intelligent, CI&T Flow-driven insights.
Features
AI-Powered Code Review: Leverages CI&T Flow to provide insightful code review comments.
Azure DevOps Integration: Seamlessly integrates into Azure DevOps pull request workflows.
Customizable Prompts: Allows for custom prompts to tailor the AI's review focus.
Flexible Model Selection: Supports various AI models (GPT-o3 mini, GPT-4o, Gemini 1.5 Flash, Gemini 2.5 Pro, Claude 3.7 Sonnet).
File Exclusion: Ability to ignore specific files or patterns from the review process.
Installation
Install the extension from the Azure DevOps Marketplace.
Add the FlowCodeReviewerTask
(version 0.x) to your Azure DevOps pipelines.
Configure the task with your Flow API credentials (Client ID, Client Secret, Tenant).
Ensure the Build Service user has the necessary permissions on the repositories:
Contribute
Contribute to pull requests
How to Get Flow API Credentials
Access the Flow platform.
Log in with your credentials.
Click on your username at the bottom left of the screen.
Go to Settings .
Navigate to Your Profile > API Keys .
Enter a name for the API key, select the llm-api
under apps, and click Create .
Copy the Client ID , Client Secret , and Tenant values.
Pipeline Task Definition
steps:
- task: FlowCodeReviewerTask@0
inputs:
clientId: 'YOUR_CLIENT_ID'
clientSecret: 'YOUR_CLIENT_SECRET'
tenant: 'YOUR_TENANT'
model: 'gemini-2.5-pro' # Or your preferred model
ignoreFiles: '**/package-lock.json,**/dist/**' # Optional: files to ignore
customPrompt: 'Your custom review instructions here' # Optional: custom prompt
The FlowCodeReviewerTask
accepts the following inputs:
clientId
(required): The Client ID of the Flow application.
clientSecret
(required): The Client Secret of the Flow application.
tenant
(required): The Tenant of the Flow application.
model
(optional, default: gemini-2.5-pro
): AI Model to be used for completions.
Supported values: gemini-2.5-pro
, gemini-1.5-flash
, gpt-4o-mini
, gpt-4o
, o3-mini
, anthropic.claude-35-sonnet
, anthropic.claude-37-sonnet
.
ignoreFiles
(optional): Comma-separated glob expressions for files to be ignored (e.g., **/package-lock.json,**/dist/**
).
customPrompt
(optional): Custom prompt to be used for AI review. This adds to the default prompt.