Skip to content

Conversation

@codegen-sh
Copy link
Contributor

@codegen-sh codegen-sh bot commented Mar 20, 2025

Overview

This PR adds an optional assignee_id parameter to the search_issues tool, allowing users to filter GitHub issues and PRs by assignee directly through a parameter instead of having to manually include it in the search query string.

Changes

  • Added an optional assignee_id parameter to the GithubSearchIssuesInput class
  • Updated the GithubSearchIssuesTool._run method to handle the new parameter by appending assignee:{assignee_id} to the query if provided
  • Updated the tool description to mention the new parameter
  • Updated the docstring in the search function to document the new parameter

Testing

The implementation ensures backward compatibility with existing code that doesn't use this parameter. When the assignee_id parameter is provided, it automatically adds the appropriate filter to the search query.

Related Issue

Resolves: Add assignee_id parameter to search_issues tool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant