[PR #1333] [CLOSED] fix: make description parameter optional in bash tool #9896

Closed
opened 2026-02-16 18:14:21 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/1333
Author: @pepperpepperpepper
Created: 7/26/2025
Status: Closed

Base: devHead: fix-bash-tool


📝 Commits (1)

  • 91d6905 fix: make description parameter optional in bash tool

📊 Changes

1 file changed (+2 additions, -1 deletions)

View changed files

📝 packages/opencode/src/tool/bash.ts (+2 -1)

📄 Description

The bash tool was requiring a description parameter, but KimiK2 wasn't automatically generating one when calling the tool, regardless of telling it to in the prompts. This caused schema validation errors in build mode and custom modes.

Requiring the description for every call was literally rendering opencode unusable and this seems to completely fix the problem.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opencode/pull/1333 **Author:** [@pepperpepperpepper](https://github.com/pepperpepperpepper) **Created:** 7/26/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `fix-bash-tool` --- ### 📝 Commits (1) - [`91d6905`](https://github.com/anomalyco/opencode/commit/91d69055258efb434e775e73e279cda3dd39b572) fix: make description parameter optional in bash tool ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/opencode/src/tool/bash.ts` (+2 -1) </details> ### 📄 Description The bash tool was requiring a description parameter, but KimiK2 wasn't automatically generating one when calling the tool, regardless of telling it to in the prompts. This caused schema validation errors in build mode and custom modes. Requiring the description for every call was literally rendering opencode unusable and this seems to completely fix the problem. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:14:21 -05:00
yindo closed this issue 2026-02-16 18:14:21 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9896