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
Any time I want to search across a reasonably large repository for a concept, it seems like I always run into the above error. The MCP server should have some summarized output or paginated responses for the search_code api so as not to overwhelm the context window. In it's current form, seems like exploring the codebase is not possible.
The text was updated successfully, but these errors were encountered:
@shahsmit1 it's already using pagination, the default perPage is 30 but that it's probably enough to use the whole context.
This is related to #181, where we need to explore options to trim the response to make it more context-size friendly.
In the meantime, you can try to work around this a bit by using in your prompt something like limit the search to 10, this should change the perPage parameter and hopefully make the response size more manageable.
This is an issue at Calud's end and you can't do much about it unless claude fixes it at their end, I saw a 2 month old reddit post about it but no solution so far for people.
Describe the bug
Any time I want to search across a reasonably large repository for a concept, it seems like I always run into the above error. The MCP server should have some summarized output or paginated responses for the
search_code
api so as not to overwhelm the context window. In it's current form, seems like exploring the codebase is not possible.The text was updated successfully, but these errors were encountered: