ログに記録されるやぅに修正
このコミットが含まれているのは:
@@ -49,7 +49,8 @@ class Main:
|
||||
if chat_items:
|
||||
chat_item = random.choice (chat_items)
|
||||
chat_item.author = chat_item.author.__dict__
|
||||
message: str = emoji.emojize (chat_item.message)
|
||||
chat_item.message = emoji.emojize (chat_item.message)
|
||||
message: str = chat_item.message
|
||||
answer: str = Talk.main (message, chat_item.author['name'], histories).replace ('\n', ' ')
|
||||
histories = (histories
|
||||
+ [{'role': 'user', 'content': message},
|
||||
|
||||
新しい課題から参照
ユーザをブロックする