Skip to content

fix(edit): more descriptive error message on oldString not found error#9432

Closed
spoons-and-mirrors wants to merge 3 commits into
anomalyco:devfrom
spoons-and-mirrors:fix/edit-tool-error-message
Closed

fix(edit): more descriptive error message on oldString not found error#9432
spoons-and-mirrors wants to merge 3 commits into
anomalyco:devfrom
spoons-and-mirrors:fix/edit-tool-error-message

Conversation

@spoons-and-mirrors

@spoons-and-mirrors spoons-and-mirrors commented Jan 19, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Should alleviate part of issue #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

@github-actions

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@github-actions

Copy link
Copy Markdown
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions

Copy link
Copy Markdown
Contributor

Closing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR.

@github-actions github-actions Bot closed this Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant