Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
fix: Remove unuseful tool rules for v1 (#5345)
Matthew Zhoud826aceaf907
diff --git a/letta/services/agent_manager.py b/letta/services/agent_manager.pyindex d92aec168..c3c2bfb8d 100644--- a/letta/services/agent_manager.py+++ b/letta/services/agent_manager.py@@ -379,6 +379,9 @@ class AgentManager:# NOTE: also overwrite initial message sequence to empty by defaultif agent_create.initial_message_sequence is None:agent_create.initial_message_sequence = []+ # NOTE: default to no base tool rules unless explicitly provided+ if not agent_create.tool_rules and agent_create.include_base_tool_rules is None:+ agent_create.include_base_tool_rules = Falseelif agent_create.agent_type == AgentType.workflow_agent:pass # no default toolselse: