From ce26a8439d9acaf13c37875265a4071c1552fc04 Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Fri, 18 Jul 2025 11:40:55 +0200 Subject: [PATCH] fix: don't stringify os methods --- core/tools/definitions/runTerminalCommand.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tools/definitions/runTerminalCommand.ts b/core/tools/definitions/runTerminalCommand.ts index f9ddd4f9a..fe5e032de 100644 --- a/core/tools/definitions/runTerminalCommand.ts +++ b/core/tools/definitions/runTerminalCommand.ts @@ -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",