Skip to content

Failed to edit file #6507

@MagicGrowth

Description

@MagicGrowth

Before opening, please confirm:

Operating System

win32

Kiro Version

0.10.78

Bug Description

  1. There is info:Either the text arg was not provided or text content provided exceeded the write file limit of 50 lines. The agent has seen this error and will try a different approach to write the file if needed.
  2. When failed editing the file happened very frequently. It is so bad, it was used Powershell to rewrite the file again and spent a lot of token, but it is new codebase different, as a result it changed all structure.

Steps to Reproduce

Just happenng during project

Expected Behavior

Must edit file sucessfully without rewrite the new file

Conversation ID

bbdecda5-70d1-441d-bcae-b1767fb843f4
bbdecda5-70d1-441d-bcae-b1767fb843f4
bbdecda5-70d1-441d-bcae-b1767fb843f4
bbdecda5-70d1-441d-bcae-b1767fb843f4
bbdecda5-70d1-441d-bcae-b1767fb843f4

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions