The str_replace editing functionality in the agent_farm codebase provides a way to perform precise text replacements in files. It is implemented as part of the code editor tool and ensures safe and accurate file modifications.
- Code Editor Parameters (sidecar/src/agentic/tool/code_edit/code_editor.rs)
- EditorCommand enum defines available commands including
StrReplace
- EditorCommand enum defines available commands including
- CodeEditorParameters struct handles parameters: