supermemory/packages/livekit-sdk-python/pyproject.toml
Ishaan Gupta 2d281f8cbc fix(livekit): recall once per turn in llm_node and remember instantly
Found in live LiveKit Cloud voice calls:

- Recalling in on_user_turn_completed changed the turn context, so
  LiveKit discarded its preemptive generation on every turn with memory.
  SupermemoryAgent now recalls only in llm_node, and uses the turn hook
  only for realtime models, which skip llm_node.
- A turn with no memory recalled twice (hook, then llm_node), and tool
  follow-ups recalled again. Each user message is now recalled once;
  retries and follow-ups share the result.
- A preloaded profile made llm_node skip recall for the rest of the
  call. Fresh recall now replaces the earlier injection.
- remember used the default dynamic dreaming, so an explicit fact took
  about 18 minutes to become recallable. It now uses instant (~40s).
  The call transcript mode is configurable via capture_dreaming.
- recall_timeout defaults to 2s; profile calls measured 0.5-1.4s.
- Require livekit-agents>=1.3.6: AgentServer (used in the quick start)
  arrived in 1.3.1, and 1.3.1-1.3.5 no longer import with current
  opentelemetry-sdk.
2026-09-28 20:56:25 +05:30

56 lines
1.3 KiB
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "supermemory-livekit"
version = "0.1.0"
description = "Supermemory integration for LiveKit Agents — persistent memory for voice AI"
readme = "README.md"
license = "MIT"
requires-python = ">=3.10"
authors = [
{ name = "Supermemory", email = "support@supermemory.ai" }
]
keywords = [
"supermemory",
"livekit",
"memory",
"voice-ai",
"agents",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"livekit-agents>=1.3.6,<2",
"pydantic>=2.10.0",
"supermemory>=3.50.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.3.5",
]
[project.urls]
Homepage = "https://supermemory.ai"
Documentation = "https://supermemory.ai/docs/integrations/livekit"
Repository = "https://github.com/supermemoryai/supermemory"
[tool.hatch.build.targets.wheel]
packages = ["src/supermemory_livekit"]
[tool.hatch.build.targets.sdist]
include = [
"/src",
"/tests",
"/README.md",
]