From 5e2fddce06eb4f89fdef76644c7d917257fc79ff Mon Sep 17 00:00:00 2001 From: cthomas Date: Wed, 5 Feb 2025 14:21:32 -0800 Subject: [PATCH] feat: support pw in auth header in ade (#921) --- letta/client/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: