Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
fix: allow no headers for `RESTClient`
Sarah Wooders3b28d74cabeb
diff --git a/letta/client/client.py b/letta/client/client.pyindex 7c824a63e..f1508a984 100644--- a/letta/client/client.py+++ b/letta/client/client.py@@ -438,7 +438,7 @@ class RESTClient(AbstractClient):elif password:self.headers = {"accept": "application/json", "X-BARE-PASSWORD": f"password {password}"}else:- raise ValueError("Either token or password must be provided")+ self.headers = {"accept": "application/json"}if headers:self.headers.update(headers)self._default_llm_config = default_llm_config