Skip to content

Commit

Permalink
добавлена очистка истории пользовательской сессии по команде /start
Browse files Browse the repository at this point in the history
  • Loading branch information
Koziev committed May 8, 2022
1 parent 7a6dc51 commit 1932b8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/generative_poetry/run_haiku_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def start(update, context) -> None:

last_user_poems[user_id] = []
last_user_poem[user_id] = None

seed_generator.restart_user_session(user_id)
logging.debug('Leaving START callback with user_id=%s', user_id)


Expand Down

0 comments on commit 1932b8f

Please sign in to comment.