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

@cat0825
Copy link
Copy Markdown
Author

cat0825 commented Jun 5, 2026

Author follow-up: current branch is ready for review. The Pipecat memory retrieval path now treats a missing profile as empty static/dynamic memories while preserving existing search result handling, with a regression test for the no-profile API response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: AttributeError when profile is None in _retrieve_memories()

2 participants