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.

fix: Typo in info log message and docs (#730)

Vlad Cuciureanu5358c839eeea
diff --git a/docs/local_llm_settings.md b/docs/local_llm_settings.md
index a3b289d34..e5dca91a8 100644
--- a/docs/local_llm_settings.md
+++ b/docs/local_llm_settings.md
@@ -96,7 +96,7 @@ If you have an empty settings file or your file wasn't saved properly, you'll se
```
...(truncated)...
Found completion settings file '/Users/loaner/.memgpt/settings/completions_api_settings.json', loading it...
-'/Users/user/.memgpt/settings/completions_api_settings.json' was emtpy, ignoring...
+'/Users/user/.memgpt/settings/completions_api_settings.json' was empty, ignoring...
...(truncated)...
```
diff --git a/memgpt/local_llm/settings/settings.py b/memgpt/local_llm/settings/settings.py
index 8b9e23338..dc6ba4973 100644
--- a/memgpt/local_llm/settings/settings.py
+++ b/memgpt/local_llm/settings/settings.py
@@ -50,7 +50,7 @@ def get_completions_settings(defaults="simple") -> dict:
printd(f"Updating base settings with the following user settings:\n{json.dumps(user_settings,indent=2)}")
settings.update(user_settings)
else:
- printd(f"'{settings_file}' was emtpy, ignoring...")
+ printd(f"'{settings_file}' was empty, ignoring...")
except json.JSONDecodeError as e:
print(f"Error: failed to load user settings file '{settings_file}', invalid json.\n{e}")
except Exception as e: