continue icon indicating copy to clipboard operation
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

Open ra-ml opened this issue 6 months ago • 3 comments

Before submitting your bug report

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

Image

Log output


ra-ml avatar Apr 20 '25 08:04 ra-ml