You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
return`Review this code change and suggest improvements for the commented lines:\n\nFile: ${reviewContext.file}\nLines: ${reviewContext.line}\n\n${reviewContext.diffHunk}`
return`${body}\n\nContext: You are reviewing a comment on file "${reviewContext.file}" at line ${reviewContext.line}.\n\nDiff context:\n${reviewContext.diffHunk}`
616
621
}
617
622
returnbody
618
623
}
619
-
thrownewError("Comments must mention `/opencode` or `/oc`")
624
+
thrownewError(`Comments must mention ${mentions.map((m)=>"`"+m+"`").join(" or ")}`)
0 commit comments