Skip to content

Commit

Permalink
feat: add back template id field for create agent req (#2300)
Browse files Browse the repository at this point in the history
Co-authored-by: Caren Thomas <[email protected]>
Co-authored-by: Sarah Wooders <[email protected]>
  • Loading branch information
3 people authored Dec 21, 2024
1 parent bbe8dea commit 803833e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions letta/schemas/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 803833e

Please sign in to comment.