From ce87050ae895550af9920dc0917fa3a1b1043fca Mon Sep 17 00:00:00 2001 From: Rose Hogenson Date: Tue, 14 Feb 2023 16:03:30 -0800 Subject: Enable autosave. --- gpt_adventure.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gpt_adventure.py') diff --git a/gpt_adventure.py b/gpt_adventure.py index ce77222..7d40770 100755 --- a/gpt_adventure.py +++ b/gpt_adventure.py @@ -168,5 +168,7 @@ def main() -> None: print(response) state.add_history(state.character, response) + state.autosave() + main() -- cgit v1.3.1