From 587a8692cdb71b224190890172f02710d9b03566 Mon Sep 17 00:00:00 2001 From: Sreeram Sreedhar Date: Sat, 18 Apr 2026 15:02:26 -0700 Subject: [PATCH] bug fix --- packages/tools/src/shared/memory-client.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/tools/src/shared/memory-client.ts b/packages/tools/src/shared/memory-client.ts index a55be299..32396e48 100644 --- a/packages/tools/src/shared/memory-client.ts +++ b/packages/tools/src/shared/memory-client.ts @@ -236,11 +236,13 @@ export const buildMemoriesText = async ( } = options // Fetch profile data when mode includes profile (profile or full) + // Note: We don't send queryText here - profile endpoint is only for static/dynamic memories. + // Query-based search is handled separately by the SDK search functions. let profileData: ProfileStructure | null = null if (mode !== "query") { profileData = await supermemoryProfileSearch( containerTag, - mode === "profile" ? "" : queryText, // Only send query for full mode + "", // No query - profile is for static/dynamic only baseUrl, apiKey, )