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
The problem is that list_pull_requests doesn't take a head parameter, nor does it reject the request as invalid. Instead, it happily returns all the open pull requests, immediately exhausting Claude's context window.
Proposed solution
Reject requests if unsupported parameters are provided. This would hint to the LLM that this approach is likely wrong.
The text was updated successfully, but these errors were encountered:
Describe the feature or problem you’d like to solve
For better or worse, Claude Code will periodically try to find the pull request for my current branch using this:
The problem is that
list_pull_requests
doesn't take ahead
parameter, nor does it reject the request as invalid. Instead, it happily returns all the open pull requests, immediately exhausting Claude's context window.Proposed solution
Reject requests if unsupported parameters are provided. This would hint to the LLM that this approach is likely wrong.
The text was updated successfully, but these errors were encountered: