Skip to content

Commit 2b04352

Browse files
authored
Merge pull request #6697 from continuedev/dallin/terminal-tool-os
fix: invoke os methods in terminal tool definition
2 parents fa10511 + ce26a84 commit 2b04352

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/tools/definitions/runTerminalCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export function getPreferredShell(): string {
2020
}
2121
}
2222

23-
export const PLATFORM_INFO = `Choose terminal commands and scripts optimized for ${os.platform} and ${os.arch} and shell ${getPreferredShell()}.`;
23+
export const PLATFORM_INFO = `Choose terminal commands and scripts optimized for ${os.platform()} and ${os.arch()} and shell ${getPreferredShell()}.`;
2424

2525
export const runTerminalCommandTool: Tool = {
2626
type: "function",

0 commit comments

Comments
 (0)