Skip to content

Commit 217e2e0

Browse files
tommaso-moroCopilot
andcommitted
Remove duplicate tool doc comments
Address review: drop the leftover one-line doc comment above each dual-variant tool constructor (list_issues, list_pull_requests, list_commits, list_releases, search_issues, search_pull_requests); the detailed variant comment remains. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent f7a1345 commit 217e2e0

3 files changed

Lines changed: 0 additions & 7 deletions

File tree

pkg/github/issues.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1605,7 +1605,6 @@ func ReprioritizeSubIssue(ctx context.Context, client *github.Client, owner stri
16051605
return utils.NewToolResultText(string(r)), nil
16061606
}
16071607

1608-
// SearchIssues creates a tool to search for issues.
16091608
// SearchIssues creates a tool to search for issues. It is the
16101609
// FeatureFlagFieldsParam-enabled variant: it advertises the optional `fields`
16111610
// parameter and filters each result to the requested subset. Both this and
@@ -2663,8 +2662,6 @@ func UpdateIssue(ctx context.Context, client *github.Client, gqlClient *githubv4
26632662
return utils.NewToolResultText(string(r)), nil
26642663
}
26652664

2666-
// ListIssues creates a tool to list and filter repository issues. It exposes the
2667-
// Issues 2.0 field_filters input plus field_values output enrichment.
26682665
// ListIssues creates a tool to list issues in a GitHub repository. It is the
26692666
// FeatureFlagFieldsParam-enabled variant: it advertises the optional `fields`
26702667
// parameter and filters each issue to the requested subset. Both this and

pkg/github/pullrequests.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1294,7 +1294,6 @@ func AddReplyToPullRequestComment(t translations.TranslationHelperFunc) inventor
12941294
})
12951295
}
12961296

1297-
// ListPullRequests creates a tool to list and filter repository pull requests.
12981297
// ListPullRequests creates a tool to list pull requests in a GitHub repository.
12991298
// It is the FeatureFlagFieldsParam-enabled variant: it advertises the optional
13001299
// `fields` parameter and filters each pull request to the requested subset. Both
@@ -1613,7 +1612,6 @@ func MergePullRequest(t translations.TranslationHelperFunc) inventory.ServerTool
16131612
})
16141613
}
16151614

1616-
// SearchPullRequests creates a tool to search for pull requests.
16171615
// SearchPullRequests creates a tool to search for pull requests. It is the
16181616
// FeatureFlagFieldsParam-enabled variant: it advertises the optional `fields`
16191617
// parameter and filters each result to the requested subset. Both this and

pkg/github/repositories.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ func GetCommit(t translations.TranslationHelperFunc) inventory.ServerTool {
132132
)
133133
}
134134

135-
// ListCommits creates a tool to get commits of a branch in a repository.
136135
// ListCommits creates a tool to get the list of commits of a branch in a GitHub
137136
// repository. It is the FeatureFlagFieldsParam-enabled variant: it advertises
138137
// the optional `fields` parameter and filters each commit to the requested
@@ -1851,7 +1850,6 @@ func GetTag(t translations.TranslationHelperFunc) inventory.ServerTool {
18511850
)
18521851
}
18531852

1854-
// ListReleases creates a tool to list releases in a GitHub repository.
18551853
// ListReleases creates a tool to list releases in a GitHub repository. It is the
18561854
// FeatureFlagFieldsParam-enabled variant: it advertises the optional `fields`
18571855
// parameter and filters each release to the requested subset. Both this and

0 commit comments

Comments
 (0)