-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Open
Labels
Description
Description
When using https://openrouter.ai/qwen/qwen3-coder:free it fails to call the edit tool.
It fails over and over again with:
Error: The edit tool was called with invalid arguments: [
{
"expected": "string",
"code": "invalid_type",
"path": [
"oldString"
],
"message": "Invalid input: expected string, received object"
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"newString"
],
"message": "Invalid input: expected string, received object"
}
].
Please rewrite the input so it satisfies the expected schema.
Plugins
none
OpenCode version
1.1.1
Steps to reproduce
- Set provider to Openrouter
- Set model to
qwen/qwen3-coder:free - Ask it to make any edits
Screenshot and/or share link
Operating System
NixOS
Terminal
xterm