update
All checks were successful
Enterprise AI Code Review / ai-review (pull_request) Successful in 30s
All checks were successful
Enterprise AI Code Review / ai-review (pull_request) Successful in 30s
This commit is contained in:
@@ -12,7 +12,6 @@ from dataclasses import dataclass, field
|
||||
from typing import Any
|
||||
|
||||
import yaml
|
||||
|
||||
from clients.gitea_client import GiteaClient
|
||||
from clients.llm_client import LLMClient, LLMResponse
|
||||
|
||||
@@ -46,11 +45,7 @@ class BaseAgent(ABC):
|
||||
AI_MARKER = "<!-- AI_CODE_REVIEW -->"
|
||||
|
||||
# Disclaimer text
|
||||
AI_DISCLAIMER = (
|
||||
"**Note:** This review was generated by an AI assistant. "
|
||||
"While it aims to be accurate and helpful, it may contain mistakes "
|
||||
"or miss important issues. Please verify all findings before taking action."
|
||||
)
|
||||
AI_DISCLAIMER = ""
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
|
||||
@@ -484,6 +484,5 @@ Be constructive and actionable. Focus on the most impactful improvements.
|
||||
lines.append("")
|
||||
|
||||
lines.append("---")
|
||||
lines.append(f"*Generated by AI Codebase Agent*")
|
||||
|
||||
return "\n".join(lines)
|
||||
|
||||
@@ -14,11 +14,7 @@ CFG = yaml.safe_load(open(f"{ROOT}/config.yml"))
|
||||
AI_MARKER = "<!-- AI_CODE_REVIEW -->"
|
||||
|
||||
# Disclaimer text to prepend
|
||||
AI_DISCLAIMER = (
|
||||
"**Note:** This review was generated by an AI assistant. "
|
||||
"While it aims to be accurate and helpful, it may contain mistakes "
|
||||
"or miss important issues. Please verify all findings before taking action."
|
||||
)
|
||||
AI_DISCLAIMER = ""
|
||||
|
||||
# -------------------------------
|
||||
# Helper functions
|
||||
|
||||
Reference in New Issue
Block a user