Merge pull request #6697 from continuedev/dallin/terminal-tool-os
fix: invoke os methods in terminal tool definition
This commit is contained in:
commit
2b04352dbf
1 changed files with 1 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue