From f2eaecf5783ad2d5f23e7c02ab2aeab0a2f1ecd1 Mon Sep 17 00:00:00 2001 From: latte Date: Sun, 28 Dec 2025 20:04:32 +0000 Subject: [PATCH] update --- docs/agents.md | 4 ---- tools/ai-review/agents/base_agent.py | 7 +------ tools/ai-review/agents/codebase_agent.py | 1 - tools/ai-review/review.py | 6 +----- 4 files changed, 2 insertions(+), 16 deletions(-) diff --git a/docs/agents.md b/docs/agents.md index 71ff94e..5abb3e9 100644 --- a/docs/agents.md +++ b/docs/agents.md @@ -251,10 +251,6 @@ python main.py chat owner/repo "Explain this bug" --issue 123 Posts a response comment: ```markdown -**Note:** This review was generated by an AI assistant... - ---- - Based on my analysis of the codebase, rate limiting is configured in `tools/ai-review/config.yml` under the `enterprise.rate_limit` section: diff --git a/tools/ai-review/agents/base_agent.py b/tools/ai-review/agents/base_agent.py index d635e09..7f163d3 100644 --- a/tools/ai-review/agents/base_agent.py +++ b/tools/ai-review/agents/base_agent.py @@ -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 = "" # 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, diff --git a/tools/ai-review/agents/codebase_agent.py b/tools/ai-review/agents/codebase_agent.py index 494c4fc..a47ebc5 100644 --- a/tools/ai-review/agents/codebase_agent.py +++ b/tools/ai-review/agents/codebase_agent.py @@ -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) diff --git a/tools/ai-review/review.py b/tools/ai-review/review.py index 4dc59d3..aead7f9 100644 --- a/tools/ai-review/review.py +++ b/tools/ai-review/review.py @@ -14,11 +14,7 @@ CFG = yaml.safe_load(open(f"{ROOT}/config.yml")) AI_MARKER = "" # 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