forked from stackblitz/bolt.new
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
Open
Description
Describe the bug
Some models that are not smart enough for code, like Gemini, always fail to apply code as diff but apply on chatbox.
Link to the Bolt URL that caused the error
Localhost
Steps to reproduce
- Start prompting
- The model generates the result of some code
- The model fails to continue work on the rest of the code, or when applying some change, the model writes code in the chatbox
- I asked to apply the code as diff and use the correct available tool, and then the model applied the code correctly.
- But since conversation continues again and again, the model writes in the chatbox.
Expected behavior
When asked to apply code changes, the model should use the available diff tool to apply changes to the existing codebase rather than rewriting code snippets in the chat interface. The model should recognize when code modification tools are available and use them appropriately for code changes.
Screen Recording / Screenshot


Platform
- OS: Linux
- Browser: Firefox, Zen Browser
- Version: Latest
Provider Used
Localhost
Model Used
Gemini 2.5 Pro and other models except Claude
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels