continue
continue copied to clipboard
builtin_edit_existing_file fails with Invalid apply state when using Gemini 2.0 Flash, works with Claude 3.7 Sonnet
Before submitting your bug report
- [x] I believe this is a bug. I'll try to join the Continue Discord for questions
- [x] I'm not able to find an open issue that reports the same bug
- [x] I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- OS:Windows
- Continue version: 1.0.6-vscode
- IDE version:
- Model:
- config:
name: Local Assistant
version: 1.0.0
schema: v1
models:
- name: Gemini 2.0 Flash
provider: gemini
model: gemini-2.0-flash
apiKey: xx
roles:
- chat
- edit
- apply
- summarize
capabilities:
- tool_use
context:
- provider: code
- provider: docs
- provider: diff
- provider: terminal
- provider: problems
- provider: folder
- provider: codebase
OR link to assistant in Continue hub:
Description
builtin_edit_existing_file fails with Invalid apply state when using Gemini 2.0 Flash, the same works with Claude 3.7 Sonnet
Tool call error message:
builtin_edit_existing_file failed with the message:
Invalid apply state
Please try something else or request further instructions.
To reproduce
Log output