supermemory/packages/openai-sdk-python/tests
Dhravya c5b7e7d4fc
fix(openai-sdk-python): migrate to v4 Supermemory APIs (#1429)
## Summary
- Replace deprecated `search.execute` with `search.memories` (hybrid mode) in `search_memories`
- Replace `memories.add` with `client.add` in tools and middleware
- Fix middleware `container_tag` param (was incorrectly `container_tags`)
- Fix profile memory deduplication for string and Pydantic API items
- Bump `supermemory>=3.50` and `requires-python>=3.9`

## Test plan
- [x] `uv run pytest tests/test_tools.py::TestMemoryOperationsUnit`

Made with [Cursor](https://cursor.com)
2026-09-01 04:34:18 +00:00
..
__init__.py feat: openai js and python sdk utilities (#389) 2025-08-27 23:34:49 +00:00
test_middleware.py fix(openai-sdk): don't inject empty system prompt when no memories are found (#999) 2026-05-26 22:28:35 +05:30
test_tools.py fix(openai-sdk-python): migrate to v4 Supermemory APIs (#1429) 2026-09-01 04:34:18 +00:00