Skip to content

Prompt is too long error from Claude Code #37490

Description

@ejstembler

Summary

The new Claude Code integration mostly works well. After a while I get a "Prompt is too long" response and I cannot continue. Even if my message is small. I'm guessing it accumulates the prompt until it's too big? I can start a new session, but then it forgets everything and I have to explain it all again.

Description

Steps to trigger the problem:

  1. Start a new Claude Code agent session
  2. Use it for a while
  3. Eventualy encounter "Prompt is too long" response

Expected Behavior: It works
Actual Behavior: It eventually stops working

Model Provider Details

  • Provider: Claude Code
  • Mode: Agent Panel
  • Other Details (MCPs, other settings, etc): N/A

Zed Version and System Specs

Zed: v0.202.5 (Zed)
OS: macOS 15.6.1
Memory: 64 GiB
Architecture: x86_64

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:ai/acpFeedback for Zed's Agent Client Protocolarea:ai/anthropicClaude Code or Anthropic specific issuesreach:many usersBugs that happen for at least a third of the users across all platforms and kinds of usageseverity:S3Papercuts, minor issues with a clear non-tedious workaround, cosmetic bugs

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions