[Bug] "AI_InvalidToolArgumentsError" then using Azure Models #475

Closed
opened 2026-02-16 17:27:00 -05:00 by yindo · 2 comments
Owner

Originally created by @tobias-walle on GitHub (Jul 3, 2025).

Originally assigned to: @thdxr on GitHub.

  1. Start "opencode" with one of the Azure Models configured (gpt 4.1 in this case)
  2. Type the prompt "run hello world in bash"
  3. The tool call fails

The same issue occurs with other tool calls.

Version: 0.1.185

Image
Originally created by @tobias-walle on GitHub (Jul 3, 2025). Originally assigned to: @thdxr on GitHub. 1. Start "opencode" with one of the Azure Models configured (gpt 4.1 in this case) 2. Type the prompt "run hello world in bash" 3. The tool call fails The same issue occurs with other tool calls. Version: `0.1.185` <img width="845" alt="Image" src="https://github.com/user-attachments/assets/0ef0e8b2-0534-462e-9a69-5e9c9476efe6" />
yindo closed this issue 2026-02-16 17:27:00 -05:00
Author
Owner

@crypt0inf0 commented on GitHub (Jul 14, 2025):

Still this issue is not solved on the latest release,
npm error Failed to create opencode binary symlink: Could not find package opencode-win32-x64: Cannot find module 'opencode-win32-x64/package.json'

@crypt0inf0 commented on GitHub (Jul 14, 2025): Still this issue is not solved on the latest release, `npm error Failed to create opencode binary symlink: Could not find package opencode-win32-x64: Cannot find module 'opencode-win32-x64/package.json'`
Author
Owner

@tobias-walle commented on GitHub (Aug 21, 2025):

I didn't see the issue for a long time now, so I will close this

@tobias-walle commented on GitHub (Aug 21, 2025): I didn't see the issue for a long time now, so I will close this
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#475