diff --git a/docs/local_llm_settings.md b/docs/local_llm_settings.md index a3b289d342..e5dca91a85 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 8b9e233380..dc6ba49735 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: