From abd9252cdccdf6300f04137943d227ef64b1bf03 Mon Sep 17 00:00:00 2001 From: Abhishek Sharma <78235887+abhisheksharma001@users.noreply.github.com> Date: Mon, 2 Nov 2026 07:47:44 +0530 Subject: [PATCH] fix(livekit): cap supermemory below 5 supermemory>=3.50.0 has no upper bound, so a fresh install resolves to 5.0.1. The plugin still makes 3.x SDK calls, which fail on 5.x, and its fail-open error handling turns those failures into log warnings, so the agent runs with no memory. Cap below 5, as #1774 did for the other Python wrappers. The cap lifts when the package moves to v5. Fixes #1860 Co-Authored-By: Claude Opus 5.5 --- AGENTS.md | 8 ++++---- packages/livekit-sdk-python/pyproject.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 4ada51df..312f2762 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -171,10 +171,10 @@ A Bun + Turbo monorepo. The `supermemory` SDKs on npm and PyPI are built in sepa - Bump versions in `packages/tools/package.json`, `packages/memory-graph/package.json` or `packages/*-python/pyproject.toml` unless asked. The `publish-*.yml` workflows publish when those change on `main`. - Edit the workflows in `.github/workflows/` unless asked. -- Migrate the Python packages to the v5 SDK unless asked. `openai-sdk-python`, `pipecat-sdk-python` and - `cartesia-sdk-python` pin `supermemory<5` (the 3.x SDK) on purpose, and `livekit-sdk-python` still makes uncapped 3.x - SDK calls; all of them use `container_tag`. `agent-framework-python` 2.0 is already on v5 (`supermemory>=5.0.0,<6`) - and passes its `container_tag` as the namespace. +- Migrate the Python packages to the v5 SDK unless asked. `openai-sdk-python`, `pipecat-sdk-python`, + `cartesia-sdk-python` and `livekit-sdk-python` pin `supermemory<5` (the 3.x SDK) on purpose; all of them use + `container_tag`. `agent-framework-python` 2.0 is already on v5 (`supermemory>=5.0.0,<6`) and passes its + `container_tag` as the namespace. - Commit `.env` files, API keys or credentials. ### Repository map diff --git a/packages/livekit-sdk-python/pyproject.toml b/packages/livekit-sdk-python/pyproject.toml index f699f894..4183afdf 100644 --- a/packages/livekit-sdk-python/pyproject.toml +++ b/packages/livekit-sdk-python/pyproject.toml @@ -32,7 +32,7 @@ classifiers = [ dependencies = [ "livekit-agents>=1.3.6,<2", "pydantic>=2.10.0", - "supermemory>=3.50.0", + "supermemory>=3.50.0,<5", ] [project.optional-dependencies]