mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-02 20:00:41 +08:00
Add 'original_suggestion' parameter to publish_inline_comment methods across git providers for enhanced inline comment handling
This commit is contained in:
@ -331,7 +331,7 @@ class BitbucketProvider(GitProvider):
|
||||
return dict(body=body, path=path, position=absolute_position) if subject_type == "LINE" else {}
|
||||
|
||||
|
||||
def publish_inline_comment(self, comment: str, from_line: int, file: str):
|
||||
def publish_inline_comment(self, comment: str, from_line: int, file: str, original_suggestion=None):
|
||||
comment = self.limit_output_characters(comment, self.max_comment_length)
|
||||
payload = json.dumps( {
|
||||
"content": {
|
||||
|
Reference in New Issue
Block a user