From 271de8eabf0a5b703b9fd6230be98ba0df5a299a Mon Sep 17 00:00:00 2001 From: Soumil Rathi Date: Mon, 13 Apr 2026 13:33:16 -0700 Subject: [PATCH] revert: keep waitForSearchResults options as Record Matches main. The type tightening was an unsolicited change. Co-Authored-By: Claude Opus 4.6 (1M context) --- mem0-ts/src/client/tests/integration/helpers.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mem0-ts/src/client/tests/integration/helpers.ts b/mem0-ts/src/client/tests/integration/helpers.ts index 912ea1cde..8afd9df8d 100644 --- a/mem0-ts/src/client/tests/integration/helpers.ts +++ b/mem0-ts/src/client/tests/integration/helpers.ts @@ -7,7 +7,7 @@ * All helpers use only the SDK's public API — no internal method access. */ import { MemoryClient } from "../../mem0"; -import type { Memory, SearchMemoryOptions } from "../../mem0.types"; +import type { Memory } from "../../mem0.types"; import { NetworkError, RateLimitError } from "../../../common/exceptions"; // ─── Environment gate ──────────────────────────────────── @@ -88,7 +88,7 @@ export async function waitForMemories( export async function waitForSearchResults( client: MemoryClient, query: string, - options: SearchMemoryOptions, + options: Record, maxRetries = 4, ): Promise { for (let attempt = 1; attempt <= maxRetries; attempt++) {