summaryrefslogtreecommitdiffstats
path: root/gpt_adventure.py
diff options
context:
space:
mode:
Diffstat (limited to 'gpt_adventure.py')
-rwxr-xr-xgpt_adventure.py3
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()