Skip to content

Claude's response was interrupted. Please check your network connection or contact support if the issue persists. #257

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
shahsmit1 opened this issue Apr 13, 2025 · 3 comments
Labels
bug Something isn't working llm-context-window

Comments

@shahsmit1
Copy link

shahsmit1 commented Apr 13, 2025

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.

@shahsmit1 shahsmit1 added the bug Something isn't working label Apr 13, 2025
@juruen
Copy link
Collaborator

juruen commented Apr 13, 2025

@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.

@SamMorrowDrums
Copy link
Collaborator

We could also add a suggestion in the description or provide lower default?

I think steering the LLM to not fry its context is likely wise.

Of course field filtering also option as mentioned.

@sahilagrawal26
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working llm-context-window
Projects
None yet
Development

No branches or pull requests

4 participants