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: cloud api test Embedding is not allowed in cloud API (#3621)

cthomas6f77017408a2
diff --git a/tests/test_client.py b/tests/test_client.py
index af24a6c3f..3f860ce9a 100644
--- a/tests/test_client.py
+++ b/tests/test_client.py
@@ -593,7 +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",
+ embedding="openai/text-embedding-3-small",
)
initial_sources = client.agents.sources.list(agent_id=agent.id)
assert source.id not in [s.id for s in initial_sources]