diff options
| author | Rose Hogenson <rhogenson@posteo.net> | 2023-02-14 17:11:19 -0800 |
|---|---|---|
| committer | Rose Hogenson <rhogenson@posteo.net> | 2023-02-14 17:11:19 -0800 |
| commit | d53a534f1f2f26661cb2f1104c9b6fff76a244f5 (patch) | |
| tree | 8b51a0f8854946e09bdb8e44a817e93e57769927 | |
| parent | 11fcfb93c0be452d13d6bf38eecc3812155079e6 (diff) | |
| download | gpt-adventure-d53a534f1f2f26661cb2f1104c9b6fff76a244f5.tar.zst | |
| -rwxr-xr-x | gpt_adventure.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gpt_adventure.py b/gpt_adventure.py index dd86adf..a8dfc8f 100755 --- a/gpt_adventure.py +++ b/gpt_adventure.py @@ -143,7 +143,8 @@ def main() -> None: elif msg == "/more": response = state.generate(state.prompt()) print(response) - state.history[-1] += response + state.history[-1] += " " + response + continue elif msg == "/retry": state.rollback_history() clear() |
