Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

fixed auth code

cs0lar899c81567617
diff --git a/autogpt/memory/weaviate.py b/autogpt/memory/weaviate.py
index 3e112ca628..6fcce0a021 100644
--- a/autogpt/memory/weaviate.py
+++ b/autogpt/memory/weaviate.py
@@ -47,9 +47,9 @@ class WeaviateMemory(MemoryProviderSingleton):
def _build_auth_credentials(self, cfg):
if cfg.weaviate_username and cfg.weaviate_password:
- return weaviate.auth.AuthClientPassword(cfg.weaviate_username, cfg.weaviate_password)
+ return weaviate.AuthClientPassword(cfg.weaviate_username, cfg.weaviate_password)
if cfg.weaviate_api_key:
- return weaviate.auth.AuthApiKey(api_key=cfg.weaviate_api_key)
+ return weaviate.AuthApiKey(api_key=cfg.weaviate_api_key)
else:
return None