mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-16 04:33:06 +00:00
A user with no stored memories gets profile=None from the API. _retrieve_memories read response.profile.static/.dynamic without a None check, so it raised AttributeError for those users, surfaced as MemoryRetrievalError. Every new or empty-profile user then triggered a false "Memory retrieval failed" log and got no memory injection. Return empty memories instead, matching the pipecat SDK fix in #1027/#1033. Adds a regression test. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_empty_profile.py | ||