During long dialogues or editing of large files, the oldStr parameter of the strReplace tool may be truncated, resulting in an inability to match the file content
Before opening, please confirm:
- [x] I have searched for duplicate or closed issues
Operating System
Windows11
Kiro Version
Kiro:0.8.86
Bug Description
Problem: When editing long dialogues or large files, the oldStr parameter of the strReplace tool is truncated, resulting in a failure to match the content of the file. Scenario: When attempting to modify a large Vue file with a long dialogue, it is expected that the tool should be able to pass the parameters completely or provide a clear error prompt when truncating. This issue often occurs during code generation, causing AI to get stuck in a certain file and unable to continue execution. UserID:d-9067c98495.e4d82478-e041-7080-f3d6-04da890aa8c0
Steps to Reproduce
Problem: When editing long dialogues or large files, the oldStr parameter of the strReplace tool is truncated, resulting in a failure to match the content of the file. Scenario: When attempting to modify a large Vue file with a long dialogue, it is expected that the tool should be able to pass the parameters completely or provide a clear error prompt when truncating. This issue often occurs during code generation, causing AI to get stuck in a certain file and unable to continue execution. UserID:d-9067c98495.e4d82478-e041-7080-f3d6-04da890aa8c0
Expected Behavior
Problem: When editing long dialogues or large files, the oldStr parameter of the strReplace tool is truncated, resulting in a failure to match the content of the file. Scenario: When attempting to modify a large Vue file with a long dialogue, it is expected that the tool should be able to pass the parameters completely or provide a clear error prompt when truncating. This issue often occurs during code generation, causing AI to get stuck in a certain file and unable to continue execution. UserID:d-9067c98495.e4d82478-e041-7080-f3d6-04da890aa8c0
Conversation ID
UserID:d-9067c98495.e4d82478-e041-7080-f3d6-04da890aa8c0
Additional Context
No response
facing same issue multiple times a day