supermemory/packages
Agnik47 b65c10bb47 fix(cartesia): keep plain-string search results and skip malformed messages
`utils.py` in cartesia-sdk-python and pipecat-sdk-python are copies of the
same file. #1434 hardened two spots in the pipecat copy and missed cartesia.

`unique_search` calls `_field(r, ...)` on every search result. For a plain
string that finds no attribute, falls back to `""`, and the entry is dropped
before it reaches the prompt. `format_memories_to_text` in the same file has
an `isinstance(item, str)` branch for search results, so that branch is
currently unreachable.

`get_last_user_message` indexed `msg["role"]` and `msg["content"]`
positionally, so a tool-call turn or provider event missing either key raised
KeyError instead of being skipped, and non-string content was returned
verbatim despite the `str | None` annotation.

Both hunks now match the pipecat implementation.
2026-09-18 22:15:17 +05:30
..
agent-framework-python feat(python-sdks): SDK-level cross-source memory deduplication (#1532) 2026-09-01 06:10:36 +00:00
ai-sdk feat(ai-sdk): re-export 7-tool surface (#1433) 2026-09-01 05:59:58 +00:00
cartesia-sdk-python fix(cartesia): keep plain-string search results and skip malformed messages 2026-09-18 22:15:17 +05:30
docs-test docs: restructure documentation site and update integration UI (#1331) 2026-07-21 20:19:30 -07:00
hooks fix: add type checks for TypeScript workspaces (#1447) 2026-08-13 17:55:50 +05:30
lib feat(auth): AgentID sign-in button on the web login page (#1467) 2026-08-16 23:20:38 +00:00
memory-graph fix(memory-graph): add aria-labels to zoom controls (#1662) 2026-09-11 11:23:37 -07:00
openai-sdk-python feat(python-sdks): SDK-level cross-source memory deduplication (#1532) 2026-09-01 06:10:36 +00:00
pipecat-sdk-python feat(python-sdks): SDK-level cross-source memory deduplication (#1532) 2026-09-01 06:10:36 +00:00
tools fix(deps): bump next to 16.3.3 in chatapp, sdk-playground, and memory-graph-playground (#1655) 2026-09-09 23:01:32 -07:00
ui fix(ui): remove the unused, broken AnonymousAuth component (#1555) 2026-08-19 19:22:17 +05:30
validation fix(mcp): bound tool inputs and scope get_document to the active space (#1593) 2026-08-24 21:36:04 +00:00