Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Updating tool get_pull_request_comments -> get_pull_request_review_comments#1062

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
tonytrg merged 3 commits intomainfromtonytrg/update-tools-description
Sep 9, 2025

Conversation

tonytrg
Copy link
Contributor

@tonytrgtonytrg commentedSep 8, 2025
edited
Loading

There have been rightly so confusions about this tool by LLM and human interpretation.

This change in the tools naming and description signifies the difference between:

  • issue comments
  • pr review comments

We are sticking closer the theofficial documentation

Closes:#735

@tonytrgtonytrg requested a review froma team as acode ownerSeptember 8, 2025 16:21
@CopilotCopilotAI review requested due to automatic review settingsSeptember 8, 2025 16:21
Copy link
Contributor

@CopilotCopilotAI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Pull Request Overview

This PR renames the toolget_pull_request_comments toget_pull_request_review_comments to better clarify its purpose. The change addresses confusion between issue comments and pull request review comments by making the tool name and description more specific.

  • Renamed the tool function fromGetPullRequestComments toGetPullRequestReviewComments
  • Updated tool name fromget_pull_request_comments toget_pull_request_review_comments
  • Enhanced description to clarify that these are review comments on code diffs, not general issue comments

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
FileDescription
pkg/github/tools.goUpdated tool registration to use the new function name
pkg/github/pullrequests_test.goUpdated test function calls and assertions to match the new tool name
pkg/github/pullrequests.goRenamed function and updated tool definition with clearer description
pkg/github/toolsnaps/get_pull_request_review_comments.snapAdded snapshot file for the renamed tool
README.mdUpdated documentation to reflect the new tool name and description

Tip: Customize your code reviews with copilot-instructions.md.Create the file orlearn how to get started.

@tonytrgtonytrg merged commit9db2e17 intomainSep 9, 2025
16 checks passed
@tonytrgtonytrg deleted the tonytrg/update-tools-description branchSeptember 9, 2025 11:26
nickytonline pushed a commit to nickytonline/github-mcp-http that referenced this pull requestOct 4, 2025
…mments (github#1062)* update get_pull_request_comments to get_pull_request_review_comments to signify difference* fix remaining old references* cleanup dangling tool snap
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

Copilot code reviewCopilotCopilot left review comments

@LuluBeatsonLuluBeatsonLuluBeatson approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

GitHub MCP server returns 404 errors for private repository PR comments despite having access
2 participants
@tonytrg@LuluBeatson

[8]ページ先頭

©2009-2025 Movatter.jp