supermemory/packages/tools/test/chatapp/app/openai-chat
MaheshtheDev b3aab91489 feat: withSupermemory for openai sdk (#531)
### 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
2025-10-27 20:08:11 +00:00
..
[chatId] feat: withSupermemory for openai sdk (#531) 2025-10-27 20:08:11 +00:00
new feat: withSupermemory for openai sdk (#531) 2025-10-27 20:08:11 +00:00