supermemory/packages/cartesia-sdk-python/tests
Pawan 59e8329203 fix(cartesia-sdk): treat empty profile as no memories, not a retrieval error
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.
2026-06-24 23:32:31 +05:30
..
__init__.py fix(cartesia-sdk): treat empty profile as no memories, not a retrieval error 2026-06-24 23:32:31 +05:30
test_empty_profile.py fix(cartesia-sdk): treat empty profile as no memories, not a retrieval error 2026-06-24 23:32:31 +05:30