Roo-Code: Claude Code integration not working on Linux when given too much context

App Version

3.21.5 (653104b4)

API Provider

Not Applicable / Other

Model Used

claude-sonnet-4-20250414

šŸ” Steps to Reproduce

  1. Create new profile
  2. Name it Claude Code
  3. Select Claude Code as the provider
  4. Select claude-sonnet-4-20250414 as the model
  5. Set the Claude Code Path
  6. Click Save
  7. Click Done
  8. Enter a prompt to a chat

šŸ’„ Outcome Summary

Sometimes get the first response about reading files into the context, but then instead of it continuing the chat with more responses it just dies.

I can see it does run the claude command, and sometimes it will even run it more than once. Yet after multiple attempts to use it, none are really successful. I tried in both Cursor 1.1.2 and VSCode 1.101.1.

Fedora 42
Claude Code 1.0.33

Image

šŸ“„ Relevant Logs or Errors (Optional)


About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 2
  • Comments: 17

Most upvoted comments

I’m having this problem too. It appears it may be necessary to devise a different method to pass the chat to & from claude code. This is because linux apparently has a maximum argument size of 128K for any argument being passed to a linux program.

E2BIG comes directly from the linux kernel: https://www.perplexity.ai/search/how-to-increase-the-limit-for-LRs.RLYeRrStfilyLtKyfA