Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
fix: add variables param for create agent (#548)
cthomas8daae8f4c8e3
diff --git a/letta/schemas/agent.py b/letta/schemas/agent.pyindex 896419e11..a114f6939 100644--- a/letta/schemas/agent.py+++ b/letta/schemas/agent.py@@ -134,6 +134,7 @@ class CreateAgent(BaseModel, validate_assignment=True): #tool_exec_environment_variables: Optional[Dict[str, str]] = Field(None, description="The environment variables for tool execution specific to this agent.")+ variables: Optional[Dict[str, str]] = Field(None, description="The variables that should be set for the agent.")@field_validator("name")@classmethod