diff --git a/letta/client/client.py b/letta/client/client.py index 413e6b64..485cc6f9 100644 --- a/letta/client/client.py +++ b/letta/client/client.py @@ -463,7 +463,7 @@ class RESTClient(AbstractClient): if token: self.headers = {"accept": "application/json", "Authorization": f"Bearer {token}"} elif password: - self.headers = {"accept": "application/json", "X-BARE-PASSWORD": f"password {password}"} + self.headers = {"accept": "application/json", "Authorization": f"Bearer {password}"} else: self.headers = {"accept": "application/json"} if headers: