[PR #9432] fix(edit): more descriptive error message on oldString not found error #13105

Open
opened 2026-02-16 18:17:58 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/9432

State: open
Merged: No


What does this PR do?

Should alleviate part of issue https://github.com/anomalyco/opencode/issues/4718

oldString not found in content is too vague and doesn't really help the model knowing if the string doesn indeed not exist for real reasons, or if the model failed at matching it

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/9432 **State:** open **Merged:** No --- ### What does this PR do? Should alleviate part of issue https://github.com/anomalyco/opencode/issues/4718 `oldString not found in content` is too vague and doesn't really help the model knowing if the string doesn indeed not exist for real reasons, or if the model failed at matching it
yindo added the pull-request label 2026-02-16 18:17:58 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13105