mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
fixed change request
This commit is contained in:
@@ -47,7 +47,7 @@ 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.auth.AuthClientPassword(cfg.weaviate_username, cfg.weaviate_password)
|
||||
if cfg.weaviate_api_key:
|
||||
return weaviate.auth.AuthApiKey(api_key=cfg.weaviate_api_key)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user