Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

feat: support pw in auth header in ade (#921)

cthomasfb2ea78999e0
diff --git a/letta/client/client.py b/letta/client/client.py
index 413e6b64c..485cc6f9c 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: