update
All checks were successful
Enterprise AI Code Review / ai-review (pull_request) Successful in 32s
All checks were successful
Enterprise AI Code Review / ai-review (pull_request) Successful in 32s
This commit is contained in:
@@ -1,49 +1,49 @@
|
||||
provider: openai # openai | openrouter | ollama
|
||||
provider: openai # openai | openrouter | ollama
|
||||
|
||||
model:
|
||||
openai: gpt-4.1-mini
|
||||
openrouter: anthropic/claude-3.5-sonnet
|
||||
ollama: codellama:13b
|
||||
openai: gpt-4.1-mini
|
||||
openrouter: anthropic/claude-3.5-sonnet
|
||||
ollama: codellama:13b
|
||||
|
||||
temperature: 0
|
||||
max_tokens: 4096
|
||||
|
||||
# Review settings
|
||||
review:
|
||||
fail_on_severity: HIGH
|
||||
max_diff_lines: 800
|
||||
inline_comments: true
|
||||
security_scan: true
|
||||
fail_on_severity: HIGH
|
||||
max_diff_lines: 800
|
||||
inline_comments: true
|
||||
security_scan: true
|
||||
|
||||
# Agent settings
|
||||
agents:
|
||||
issue:
|
||||
enabled: true
|
||||
auto_label: true
|
||||
auto_triage: true
|
||||
duplicate_threshold: 0.85
|
||||
events:
|
||||
- opened
|
||||
- labeled
|
||||
pr:
|
||||
enabled: true
|
||||
inline_comments: true
|
||||
security_scan: true
|
||||
events:
|
||||
- opened
|
||||
- synchronize
|
||||
codebase:
|
||||
enabled: true
|
||||
schedule: "0 0 * * 0" # Weekly on Sunday
|
||||
chat:
|
||||
enabled: true
|
||||
name: "Bartender"
|
||||
max_iterations: 5 # Max tool call iterations per chat
|
||||
tools:
|
||||
- search_codebase
|
||||
- read_file
|
||||
- search_web
|
||||
searxng_url: "" # Set via SEARXNG_URL env var or here
|
||||
issue:
|
||||
enabled: true
|
||||
auto_label: true
|
||||
auto_triage: true
|
||||
duplicate_threshold: 0.85
|
||||
events:
|
||||
- opened
|
||||
- labeled
|
||||
pr:
|
||||
enabled: true
|
||||
inline_comments: true
|
||||
security_scan: true
|
||||
events:
|
||||
- opened
|
||||
- synchronize
|
||||
codebase:
|
||||
enabled: true
|
||||
schedule: "0 0 * * 0" # Weekly on Sunday
|
||||
chat:
|
||||
enabled: true
|
||||
name: "Bartender"
|
||||
max_iterations: 5 # Max tool call iterations per chat
|
||||
tools:
|
||||
- search_codebase
|
||||
- read_file
|
||||
- search_web
|
||||
searxng_url: "" # Set via SEARXNG_URL env var or here
|
||||
|
||||
# Interaction settings
|
||||
# CUSTOMIZE YOUR BOT NAME HERE!
|
||||
@@ -56,41 +56,42 @@ agents:
|
||||
# NOTE: Also update the workflow files (.github/workflows/ or .gitea/workflows/)
|
||||
# to match this prefix in the 'if: contains(...)' condition
|
||||
interaction:
|
||||
respond_to_mentions: true
|
||||
mention_prefix: "@bartender" # Change this to customize your bot's name!
|
||||
commands:
|
||||
- explain
|
||||
- suggest
|
||||
- security
|
||||
- summarize
|
||||
respond_to_mentions: true
|
||||
mention_prefix: "@codebot" # Change this to customize your bot's name!
|
||||
commands:
|
||||
- explain
|
||||
- suggest
|
||||
- security
|
||||
- summarize
|
||||
- triage
|
||||
|
||||
# Enterprise settings
|
||||
enterprise:
|
||||
audit_log: true
|
||||
audit_path: "/var/log/ai-review/"
|
||||
metrics_enabled: true
|
||||
rate_limit:
|
||||
requests_per_minute: 30
|
||||
max_concurrent: 4
|
||||
audit_log: true
|
||||
audit_path: "/var/log/ai-review/"
|
||||
metrics_enabled: true
|
||||
rate_limit:
|
||||
requests_per_minute: 30
|
||||
max_concurrent: 4
|
||||
|
||||
# Label mappings for auto-labeling
|
||||
labels:
|
||||
priority:
|
||||
high: "priority: high"
|
||||
medium: "priority: medium"
|
||||
low: "priority: low"
|
||||
type:
|
||||
bug: "type: bug"
|
||||
feature: "type: feature"
|
||||
question: "type: question"
|
||||
docs: "type: documentation"
|
||||
status:
|
||||
ai_approved: "ai-approved"
|
||||
ai_changes_required: "ai-changes-required"
|
||||
ai_reviewed: "ai-reviewed"
|
||||
priority:
|
||||
high: "priority: high"
|
||||
medium: "priority: medium"
|
||||
low: "priority: low"
|
||||
type:
|
||||
bug: "type: bug"
|
||||
feature: "type: feature"
|
||||
question: "type: question"
|
||||
docs: "type: documentation"
|
||||
status:
|
||||
ai_approved: "ai-approved"
|
||||
ai_changes_required: "ai-changes-required"
|
||||
ai_reviewed: "ai-reviewed"
|
||||
|
||||
# Security scanning rules
|
||||
security:
|
||||
enabled: true
|
||||
fail_on_high: true
|
||||
rules_file: "security/security_rules.yml"
|
||||
enabled: true
|
||||
fail_on_high: true
|
||||
rules_file: "security/security_rules.yml"
|
||||
|
||||
Reference in New Issue
Block a user