Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
feat: add back template id field for create agent req (#2300)
cthomas7876c5d5de5d
diff --git a/letta/schemas/agent.py b/letta/schemas/agent.pyindex 840ca5896..03d40350e 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