Skip to content

[BUG] x-ai/grok-code-fast-1 Edit Unsuccessful #9239

@jcalfee

Description

@jcalfee

Problem (one or two sentences)

x-ai/grok-code-fast-1 starts well, but pretty quickly Edit Unsuccessful errors start showing up.

I have Roo Code set to always show thinking blocks. There are also many (not all) unusual thinking blocks like this but these do not seem to cause any serious error (probably hiding important info and may be related):

Image

Eventually the Edit Unsuccessful errors get so frequent that no edit will succeed. The only way out is to tell it to dump the last changes to the chat and start a new session. A new session starts out fine again.

Context (who is affected and when)

Happens more frequently the last two days but and a bit less frequently the day before that.

Reproduction steps

Just use the model x-ai/grok-code-fast-1 via openrouter.ai

Expected result

works

Actual result

does not work

Variations tried (optional)

No response

App Version

v3.31.2

API Provider (optional)

OpenRouter

Model Used (optional)

x-ai/grok-code-fast-1

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions