Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
fix: Temporarily disable `save_agent` from updating `tool_exec_environment_variables` (#523)
Matthew Zhouf6b9d3027063
diff --git a/letta/agent.py b/letta/agent.pyindex 4c1bc4e0c..91db2e8a3 100644--- a/letta/agent.py+++ b/letta/agent.py@@ -1075,7 +1075,8 @@ def save_agent(agent: Agent):message_ids=agent_state.message_ids,description=agent_state.description,metadata_=agent_state.metadata_,- tool_exec_environment_variables=agent_state.get_agent_env_vars_as_dict(),+ # TODO: Add this back in later+ # tool_exec_environment_variables=agent_state.get_agent_env_vars_as_dict(),)agent_manager.update_agent(agent_id=agent_state.id, agent_update=update_agent, actor=agent.user)