diff options
Diffstat (limited to 'gpt_adventure.py')
| -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() |
