Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
feat: remove deprecation warning (#3560)
cthomas25a1f6992162
diff --git a/letta/client/client.py b/letta/client/client.pyindex 1d5c81e73..88fa5a67a 100644--- a/letta/client/client.py+++ b/letta/client/client.py@@ -1,4 +1,3 @@-import sysimport timefrom typing import Callable, Dict, List, Optional, Union@@ -33,16 +32,6 @@ from letta.schemas.tool import Tool, ToolCreate, ToolUpdatefrom letta.schemas.tool_rule import BaseToolRulefrom letta.utils import get_human_text, get_persona_text-# Print deprecation notice in yellow when module is imported-print(- "\n\n\033[93m"- + "DEPRECATION WARNING: This legacy Python client has been deprecated and will be removed in a future release.\n"- + "Please migrate to the new official python SDK by running: pip install letta-client\n"- + "For further documentation, visit: https://docs.letta.com/api-reference/overview#python-sdk"- + "\033[0m\n\n",- file=sys.stderr,-)-class AbstractClient(object):def __init__(