Skip to content

Commit 7ec842d

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

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
@@ -626,8 +626,7 @@ export const BashTool = Tool.define("bash", async () => {
626626
log.info("bash tool using shell", { shell })
627627

628628
return {
629-
description: DESCRIPTION.replaceAll("${directory}", Instance.directory)
630-
.replaceAll("${os}", process.platform)
629+
description: DESCRIPTION.replaceAll("${os}", process.platform)
631630
.replaceAll("${shell}", name)
632631
.replaceAll("${chaining}", chain)
633632
.replaceAll("${maxLines}", String(Truncate.MAX_LINES))

0 commit comments

Comments
 (0)