Uh oh!
There was an error while loading. Please reload this page.
fix(bash): make description optional for tool calls - #13288
Conversation
The following comment was made by an LLM, it may be inaccurate: No duplicate PRs found |
SeanThomasWilliams
commented
Feb 21, 2026
We're seeing this issue in production with NVIDIA Nemotron-3-Nano (30B-A3B, AWQ variant) served via vLLM on DGX Spark hardware. The model was trained without the Validation evidence from our testing:
Our workaround: Custom tool override via This fix would significantly improve opencode's compatibility with open-weight models. The approach in this PR (optional schema + fallback) is exactly right. |
Closing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR. |
Fixes#13146
Summary
descriptionoptional inBashToolinput schemaRun shell command) when callers omit itbash.execute({ command })works withoutdescriptionWhy
Some clients/tool-call paths invoke bash with only
command. Requiringdescriptioncauses schema validation errors and makes bash effectively unusable in those flows.Scope
packages/opencode/src/tool/bash.tspackages/opencode/test/tool/bash.test.ts