fix: remove duplicate 'Code Review' header in opencode plugin review feedback (#375)

Same issue as #370 — exportReviewFeedback() already includes a
'# Code Review Feedback' header. The opencode plugin was wrapping
that output with another header, causing the heading to appear twice.

Closes #374

For provenance purposes, this commit was AI assisted.
This commit is contained in:
Michael Ramos
2026-03-23 12:21:04 -07:00
committed by GitHub
parent 4b097197a0
commit bf08dabc61
+1 -1
View File
@@ -110,7 +110,7 @@ export async function handleReviewCommand(
? "# Code Review\n\nCode review completed — no changes requested."
: isPRMode
? result.feedback
: `# Code Review Feedback\n\n${result.feedback}\n\nPlease address this feedback.`;
: `${result.feedback}\n\nPlease address this feedback.`;
try {
await client.session.prompt({