Skip to content

Commit 957132d

Browse files
rekram1-nodee-n-0
authored andcommitted
tweak: adjust bash tool description to increase cache hit rates between projects (anomalyco#19487)
1 parent 18e6b93 commit 957132d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

packages/opencode/src/tool/bash.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,7 @@ export const BashTool = Tool.define("bash", async () => {
6767
log.info("bash tool using shell", { shell })
6868

6969
return {
70-
description: DESCRIPTION.replaceAll("${directory}", Instance.directory)
71-
.replaceAll("${maxLines}", String(Truncate.MAX_LINES))
70+
description: DESCRIPTION.replaceAll("${maxLines}", String(Truncate.MAX_LINES))
7271
.replaceAll("${maxBytes}", String(Truncate.MAX_BYTES))
7372
.replaceAll(
7473
"${unsandboxed}",

0 commit comments

Comments
 (0)