diff --git a/src/core/prompts/commands.ts b/src/core/prompts/commands.ts index e98f1bd9..f8be6acf 100644 --- a/src/core/prompts/commands.ts +++ b/src/core/prompts/commands.ts @@ -1,10 +1,8 @@ import type { ApiProviderInfo } from "@/core/api" import { getDeepPlanningPrompt } from "./commands/deep-planning" -export const newTaskToolResponse = (enableNativeToolCalls?: boolean) => { - const xmlExample = enableNativeToolCalls - ? "" - : ` +export const newTaskToolResponse = () => { + const xmlExample = ` Example: 1. Current Work: diff --git a/src/core/slash-commands/index.ts b/src/core/slash-commands/index.ts index be732fa3..47eb4e0e 100644 --- a/src/core/slash-commands/index.ts +++ b/src/core/slash-commands/index.ts @@ -57,7 +57,7 @@ export async function parseSlashCommands( const willUseNativeTools = isNativeToolCallingConfig(providerInfo!, enableNativeToolCalls || false) const commandReplacements: Record = { - newtask: newTaskToolResponse(willUseNativeTools), + newtask: newTaskToolResponse(), smol: condenseToolResponse(focusChainSettings), compact: condenseToolResponse(focusChainSettings), newrule: newRuleToolResponse(),