From 803833e97ecc74dbc48db208e5d521e781cdf3be Mon Sep 17 00:00:00 2001 From: cthomas Date: Fri, 20 Dec 2024 16:58:03 -0800 Subject: [PATCH] feat: add back template id field for create agent req (#2300) Co-authored-by: Caren Thomas Co-authored-by: Sarah Wooders --- letta/schemas/agent.py | 1 + 1 file changed, 1 insertion(+) diff --git a/letta/schemas/agent.py b/letta/schemas/agent.py index 840ca58961..03d40350e1 100644 --- a/letta/schemas/agent.py +++ b/letta/schemas/agent.py @@ -118,6 +118,7 @@ class CreateAgent(BaseModel, validate_assignment=True): # ) context_window_limit: Optional[int] = Field(None, description="The context window limit used by the agent.") embedding_chunk_size: Optional[int] = Field(DEFAULT_EMBEDDING_CHUNK_SIZE, description="The embedding chunk size used by the agent.") + from_template: Optional[str] = Field(None, description="The template id used to configure the agent") @field_validator("name") @classmethod