Merge pull request #6697 from continuedev/dallin/terminal-tool-os

fix: invoke os methods in terminal tool definition
This commit is contained in:
Nate Sesti 2025-07-21 21:58:38 -07:00 • committed by GitHub
commit 2b04352dbf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,7 +20,7 @@ export function getPreferredShell(): string {
}
}
export const PLATFORM_INFO = `Choose terminal commands and scripts optimized for ${os.platform} and ${os.arch} and shell ${getPreferredShell()}.`;
export const PLATFORM_INFO = `Choose terminal commands and scripts optimized for ${os.platform()} and ${os.arch()} and shell ${getPreferredShell()}.`;
export const runTerminalCommandTool: Tool = {
type: "function",