supermemory/packages/openai-sdk-python/src/supermemory_openai
Cintu07 8f8e76d488 fix(openai-sdk-python): run the requests fallback off the event loop
supermemory_profile_search is async, but without the optional aiohttp
extra it falls back to requests.post, which blocks whatever event loop
awaited it for the whole request. aiohttp is not installed by default,
so on a plain pip install every memory search on the async path stalls
the caller's loop.

The fallback now runs requests.post through asyncio.to_thread. The new
test forces the fallback and fails if the request holds the loop.
2026-09-11 08:42:35 +00:00
..
__init__.py feat(openai-sdk-python): 7-tool parity (#1430) 2026-09-01 04:34:18 +00:00
exceptions.py add openai middleware functionality for python sdk (#546) 2025-11-11 02:16:34 +00:00
middleware.py fix(openai-sdk-python): run the requests fallback off the event loop 2026-09-11 08:42:35 +00:00
tools.py feat(openai-sdk-python): 7-tool parity (#1430) 2026-09-01 04:34:18 +00:00
utils.py feat(python-sdks): SDK-level cross-source memory deduplication (#1532) 2026-09-01 06:10:36 +00:00