Skip to content

Claude context length limits causing incomplete code generation #2

Description

@dhx20150812

Hi, @mnluzimu, thanks for your great project!

When testing bolt.diy with Claude models, I frequently hit context length limitations that cause:

  • Code generation stopping mid-way
  • Incomplete/truncated files
  • Missing parts of the generated website

This happens especially with complex website generation tasks in WebGen-Bench evaluation.

For example, as you can see in the below picture, the bolt.diy agent got stuck when generating the ChartDisplay.tsx file because of the limited context length of Claude3.7-Sonnet.

Questions

  1. Have you encountered this issue? Any known workarounds for Claude's context limits?
  2. Does bolt.diy have chunking mechanisms to break large tasks into smaller pieces?
  3. Any configuration options or alternative models you'd recommend?

Thank you very much in advance for your help!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions