Skip to content

Commit

Permalink
fix: Typo in info log message and docs (#730)
Browse files Browse the repository at this point in the history
  • Loading branch information
VladCuciureanu authored Dec 28, 2023
1 parent 0a894c8 commit 4118c15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/local_llm_settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)...
```

Expand Down
2 changes: 1 addition & 1 deletion memgpt/local_llm/settings/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4118c15

Please sign in to comment.