diff --git a/agent/reviewer_publish.py b/agent/reviewer_publish.py index 800a5575..6734cbcc 100644 --- a/agent/reviewer_publish.py +++ b/agent/reviewer_publish.py @@ -103,7 +103,7 @@ def render_inline_comment_body(finding: Finding) -> str: *(Refers to lines X-Y)* --- - *Was this helpful? React with 👍 or 👎 to provide feedback.* + *Your feedback helps Open SWE learn. React with 👍 or 👎 to tell us if this review comment was useful.* ```suggestion @@ -131,7 +131,13 @@ def render_inline_comment_body(finding: Finding) -> str: body_parts.extend(["", detail]) if line_ref: body_parts.extend(["", line_ref]) - body_parts.extend(["", "---", "*Was this helpful? React with 👍 or 👎 to provide feedback.*"]) + body_parts.extend( + [ + "", + "---", + "*Your feedback helps Open SWE learn. React with 👍 or 👎 to tell us if this review comment was useful.*", + ] + ) body = "\n".join(body_parts) suggestion = finding.get("suggestion") diff --git a/tests/test_reviewer_publish.py b/tests/test_reviewer_publish.py index ee91e8a4..0cfddf81 100644 --- a/tests/test_reviewer_publish.py +++ b/tests/test_reviewer_publish.py @@ -65,8 +65,9 @@ def test_render_inline_comment_body_without_suggestion() -> None: assert "