We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1adf1c3 commit 19a5d82Copy full SHA for 19a5d82
packages/agent/src/git-manager.ts
@@ -604,7 +604,7 @@ Generated by PostHog Agent`;
604
}
605
606
607
- async getAllPullRequestReviewComments(prNumber: number): Promise<string> {
+ async getPullRequestReviewComments(prNumber: number): Promise<string> {
608
try {
609
// Extract repo from remote URL (format: owner/repo)
610
const remoteUrl = await this.getRemoteUrl();
@@ -621,6 +621,7 @@ Generated by PostHog Agent`;
621
622
const repo = repoMatch[1];
623
624
+ // TODO: Paginate if many comments
625
const output = await this.runCommand(
626
`gh api repos/${repo}/pulls/${prNumber}/comments`,
627
);
0 commit comments