supermemory/packages/tools/src/shared
MaheshtheDev 23a60f90f6
Some checks failed
Publish Tools / publish (push) Has been cancelled
tools: timeout and default option on error to skip (#875)
**`withSupermemory`** **(AI SDK)**

- **`skipMemoryOnError`** **defaults to** **`true`**. memory errors/timeouts log and the model runs on the **original** prompt unless you set `skipMemoryOnError: false`.
- **Pre-LLM** **`/v4/profile`** **is aborted after 5s** via `AbortSigna`

**Docs**

- `packages/tools/README.md`, **`apps/docs/integrations/ai-sdk.md`**
2026-04-23 00:11:20 +00:00
..
cache.ts feat: Use LRUCache instead of Map in MemoryCache (#774) 2026-03-20 10:37:39 -07:00
context.ts mastra integration (#717) 2026-02-03 00:43:08 +00:00
index.ts mastra integration (#717) 2026-02-03 00:43:08 +00:00
logger.ts mastra integration (#717) 2026-02-03 00:43:08 +00:00
memory-client.ts tools: timeout and default option on error to skip (#875) 2026-04-23 00:11:20 +00:00
prompt-builder.ts mastra integration (#717) 2026-02-03 00:43:08 +00:00
types.ts pkg(tools): Expose raw search results in MemoryPromptData for prompt templates (#787) 2026-03-19 00:38:53 +00:00