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.

fix: removed keyword default from dict.get arguments

Tymec091457a24f7c
diff --git a/scripts/memory/base.py b/scripts/memory/base.py
index c1b48d3e77..1f13f38b3d 100644
--- a/scripts/memory/base.py
+++ b/scripts/memory/base.py
@@ -19,7 +19,7 @@ cfg = Config()
EMBED_DIM = {
"ada": 1536,
"sbert": 768
-}.get(cfg.memory_embedder, default=1536)
+}.get(cfg.memory_embedder, 1536)
def get_embedding(text):