Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

fix: sources test (#3581)

cthomasd936335f2725
diff --git a/tests/test_client.py b/tests/test_client.py
index 2f9d881d5..af24a6c3f 100644
--- a/tests/test_client.py
+++ b/tests/test_client.py
@@ -593,6 +593,7 @@ def test_attach_detach_agent_source(client: Letta, agent: AgentState):
# Create a source
source = client.sources.create(
name="test_source",
+ embedding="letta/letta-free",
)
initial_sources = client.agents.sources.list(agent_id=agent.id)
assert source.id not in [s.id for s in initial_sources]