From a94da7a9f1075ffeffa868e791cf076b8557c70c Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Fri, 4 Jul 2025 10:45:47 +0530 Subject: [PATCH] fix type error --- core/tools/implementations/codebaseTool.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/core/tools/implementations/codebaseTool.ts b/core/tools/implementations/codebaseTool.ts index 46b06a8c6..fe4f77ace 100644 --- a/core/tools/implementations/codebaseTool.ts +++ b/core/tools/implementations/codebaseTool.ts @@ -23,6 +23,7 @@ export const codebaseToolImpl: ToolImpl = async (args, extras) => { ide: extras.ide, selectedCode: [] as RangeInFile[], fetch: extras.fetch, + isInAgentMode: true, // always true in tool call }; // Use the existing retrieval function to get context items