Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

chore: rename variables to memory_variables (#722)

cthomas91b60b73a051
diff --git a/letta/schemas/agent.py b/letta/schemas/agent.py
index 697734bd8..17e3ac6f7 100644
--- a/letta/schemas/agent.py
+++ b/letta/schemas/agent.py
@@ -139,7 +139,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.")
+ memory_variables: Optional[Dict[str, str]] = Field(None, description="The variables that should be set for the agent.")
@field_validator("name")
@classmethod