Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
fix: bug in get_tool_id (#2201)
Charles Packer668a2a40ad7f
diff --git a/letta/client/client.py b/letta/client/client.pyindex afccdafaa..d4cedb033 100644--- a/letta/client/client.py+++ b/letta/client/client.py@@ -2836,7 +2836,7 @@ class LocalClient(AbstractClient):id (str): ID of the tool (`None` if not found)"""tool = self.server.tool_manager.get_tool_by_name(tool_name=name, actor=self.user)- return tool.id+ return tool.id if tool else Nonedef load_data(self, connector: DataConnector, source_name: str):"""