From 2d82faad70fdfe061276c57c332392edf9bd374f Mon Sep 17 00:00:00 2001 From: cthomas Date: Wed, 17 Dec 2025 12:48:35 -0800 Subject: [PATCH] fix: skip agent relationship joins for source upload (#7335) --- letta/services/source_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/letta/services/source_manager.py b/letta/services/source_manager.py index 0a3b7b3a..9099e822 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)