Implement edit comment

This commit is contained in:
Hussam.lawen
2024-02-11 12:31:30 +02:00
parent a40643bbba
commit 73d2b1565d
4 changed files with 21 additions and 0 deletions

View File

@ -41,6 +41,9 @@ class GitProvider(ABC):
def get_pr_description_full(self) -> str:
pass
def edit_comment(self, comment, body: str):
pass
def get_pr_description(self, *, full: bool = True) -> str:
from pr_agent.config_loader import get_settings
from pr_agent.algo.utils import clip_tokens