From 3482d7d11a5781c26ae71608b71a345c4dd1f74f Mon Sep 17 00:00:00 2001 From: Charles Packer Date: Fri, 16 Jan 2026 08:47:52 -0800 Subject: [PATCH] revert: Revert "fix: remove conversation_search from default base tools" (#563) --- src/agent/create.ts | 1 + src/agent/defaults.ts | 2 +- src/tests/headless-scenario.ts | 5 +++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/agent/create.ts b/src/agent/create.ts index 58203d9..b292d6f 100644 --- a/src/agent/create.ts +++ b/src/agent/create.ts @@ -137,6 +137,7 @@ export async function createAgent( const defaultBaseTools = options.baseTools ?? [ baseMemoryTool, "web_search", + "conversation_search", "fetch_webpage", ]; diff --git a/src/agent/defaults.ts b/src/agent/defaults.ts index 49a467f..7f08ef3 100644 --- a/src/agent/defaults.ts +++ b/src/agent/defaults.ts @@ -43,7 +43,7 @@ export const DEFAULT_AGENT_CONFIGS: Record = { name: "Incognito", description: INCOGNITO_DESCRIPTION, initBlocks: ["skills", "loaded_skills"], // Only skills blocks, no personal memory - baseTools: ["web_search", "fetch_webpage"], // No memory tool + baseTools: ["web_search", "conversation_search", "fetch_webpage"], // No memory tool }, }; diff --git a/src/tests/headless-scenario.ts b/src/tests/headless-scenario.ts index 3f6a6f3..7a73e39 100644 --- a/src/tests/headless-scenario.ts +++ b/src/tests/headless-scenario.ts @@ -50,10 +50,11 @@ async function ensurePrereqs(_model: string): Promise<"ok" | "skip"> { function scenarioPrompt(): string { return ( "I want to test your tool calling abilities (do not ask for any clarifications, this is an automated test suite inside a CI runner, there is no human to assist you). " + - "First, use the memory tool to append the text 'TEST1' to the end of the 'human' memory block. " + + "First, call a single conversation_search to search for 'hello'. " + + "Then, try calling two conversation_searches in parallel (search for 'test' and 'hello'). " + "Then, try running a shell command to output an echo (use whatever shell/bash tool is available). " + "Then, try running three shell commands in parallel to do 3 parallel echos: echo 'Test1', echo 'Test2', echo 'Test3'. " + - "Then finally, try running 2 shell commands and 1 memory append in parallel (echo 'Final1', echo 'Final2', and append 'TEST2' to the 'human' block), so three parallel tools mixing server-side and client-side. " + + "Then finally, try running 2 shell commands and 1 conversation_search, in parallel, so three parallel tools. " + "IMPORTANT: If and only if all of the above steps worked as requested, include the word BANANA (uppercase) somewhere in your final response." ); }