fix: accept Claude/Gemini tool param aliases
This commit is contained in:
1 parent
231d2d5fdf
commit
5dc187f00c
2 files changed
+2
No files matched your search
@@ -545,6 +545,7 @@ function createSandboxedEditTool(root: string) {
|
||||
root,
|
||||
);
|
||||
}
|
||||
|
||||
// Normalize tool parameters from Claude Code conventions to pi-coding-agent conventions.
|
||||
// Claude Code uses file_path/old_string/new_string while pi-coding-agent uses path/oldText/newText.
|
||||
// This prevents models trained on Claude Code from getting stuck in tool-call loops.
|
||||
|
||||
Reference in new issue
Block a user