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.

chore: Default to agent file v2 [LET-4063] (#4245)

Matthew Zhouea1532d1c968
diff --git a/letta/server/rest_api/routers/v1/agents.py b/letta/server/rest_api/routers/v1/agents.py
index cb8eaa089..5dad005a0 100644
--- a/letta/server/rest_api/routers/v1/agents.py
+++ b/letta/server/rest_api/routers/v1/agents.py
@@ -155,8 +155,8 @@ async def export_agent_serialized(
server: "SyncServer" = Depends(get_letta_server),
actor_id: str | None = Header(None, alias="user_id"),
use_legacy_format: bool = Query(
- True,
- description="If true, exports using the legacy single-agent format. If false, exports using the new multi-entity format.",
+ False,
+ description="If true, exports using the legacy single-agent format (v1). If false, exports using the new multi-entity format (v2).",
),
# do not remove, used to autogeneration of spec
# TODO: Think of a better way to export AgentFileSchema