Skip to content

fix(pipecat): handle missing profile in memory retrieval#1033

Open
cat0825 wants to merge 1 commit into
supermemoryai:mainfrom
cat0825:cat/pipecat-profile-none
Open

fix(pipecat): handle missing profile in memory retrieval#1033
cat0825 wants to merge 1 commit into
supermemoryai:mainfrom
cat0825:cat/pipecat-profile-none

Conversation

@cat0825
Copy link
Copy Markdown

@cat0825 cat0825 commented Jun 1, 2026

Summary

Fixes a crash in SupermemoryPipecatService._retrieve_memories() when the Supermemory API returns profile=None for users with no stored memories.

Closes #1027.

What changed

  • Treats a missing profile as empty static/dynamic memories.
  • Preserves existing search result handling.
  • Adds a regression test for the no-profile response path.

Validation

  • python -m pytest tests/test_service.py

@graphite-app graphite-app Bot requested a review from Dhravya June 1, 2026 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: AttributeError when profile is None in _retrieve_memories()

1 participant