diff --git a/autogpt/memory/weaviate.py b/autogpt/memory/weaviate.py index 3e112ca6..6fcce0a0 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