Skip to content

Reduce 4.1 usage's of insert_edit_into_file #254012

Open
@connor4312

Description

@connor4312

In swebench we saw 4.1 loves apply_patch and rarely uses insert_edit_into_file. However, in the real world, our telemetry indicates that it still calls it more than we would like. Some ideas:

  1. See if we'd be able to remove insert_edit from 4.1's capabilities
  2. Or, keep it in with instructions like "Never use this tool unless told otherwise" and have apply_patch in its output say "You may use insert_edit for this edit" only if apply_patch fails twice in a row.

cc @isidorn @roblourens

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions