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: skip agent relationship joins for source upload (#7335)

cthomas2d82faad70fd
diff --git a/letta/services/source_manager.py b/letta/services/source_manager.py
index 0a3b7b3ab..9099e822d 100644
--- a/letta/services/source_manager.py
+++ b/letta/services/source_manager.py
@@ -321,7 +321,7 @@ class SourceManager:
result = await session.execute(query)
agents_orm = result.scalars().all()
- return await asyncio.gather(*[agent.to_pydantic_async() for agent in agents_orm])
+ return await asyncio.gather(*[agent.to_pydantic_async(include=[]) for agent in agents_orm])
@enforce_types
@raise_on_invalid_id(param_name="source_id", expected_prefix=PrimitiveType.SOURCE)