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

Default to v2
This commit is contained in:
Matthew Zhou
2025-08-27 10:32:29 -07:00
committed by GitHub
parent 74ee4dd4fe
commit ea1532d1c9

View File

@@ -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