mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-08-28 05:25:33 +00:00
### TL;DR Added OpenAI SDK middleware support for SuperMemory integration, allowing direct memory injection without AI SDK dependency. ### What changed? - Added `withSupermemory` middleware for OpenAI SDK that automatically injects relevant memories into chat completions - Implemented memory search and injection functionality for OpenAI clients - Restructured the OpenAI module to separate tools and middleware functionality - Updated README with comprehensive documentation and examples for the new OpenAI middleware - Added test implementation with a Next.js API route example - Reorganized package exports to support the new structure |
||
|---|---|---|
| .. | ||
| chatapp | ||
| ai-sdk-test.ts | ||
| anthropic-example.ts | ||
| claude-memory-examples.ts | ||
| claude-memory-real-example.ts | ||
| claude-memory.test.ts | ||
| test-memory-tool.ts | ||
| vercel.test.ts | ||