Skip to content

Commit 4f726b6

Browse files
author
René
committed
Merge PR anomalyco#1333: fix: make description parameter optional in bash tool
Merged from: anomalyco#1333 Author: @pepperpepperpepper Auto-merged by opencode-fork integration system
2 parents 418a282 + 91d6905 commit 4f726b6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/opencode/src/tool/bash.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ export const BashTool = Tool.define("bash", {
3333
.string()
3434
.describe(
3535
"Clear, concise description of what this command does in 5-10 words. Examples:\nInput: ls\nOutput: Lists files in current directory\n\nInput: git status\nOutput: Shows working tree status\n\nInput: npm install\nOutput: Installs package dependencies\n\nInput: mkdir foo\nOutput: Creates directory 'foo'",
36-
),
36+
)
37+
.optional(),
3738
}),
3839
async execute(params, ctx) {
3940
const timeout = Math.min(params.timeout ?? DEFAULT_TIMEOUT, MAX_TIMEOUT)

0 commit comments

Comments
 (0)