From 562be43052426ac5c02659c921a444778b8ac73b Mon Sep 17 00:00:00 2001 From: Caren Thomas Date: Fri, 20 Dec 2024 16:46:27 -0800 Subject: [PATCH] add back template id field for create agent req --- letta/schemas/agent.py | 1 + 1 file changed, 1 insertion(+) diff --git a/letta/schemas/agent.py b/letta/schemas/agent.py index 840ca58961..3609c99a66 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.") + template_id: Optional[str] = Field(None, description="The template id used to configure the agent") @field_validator("name") @classmethod