Browse Source

'talk.py' を更新

othello
みてるぞ 9 months ago
parent
commit
4031ab28bd
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      talk.py

+ 2
- 2
talk.py View File

@@ -44,8 +44,8 @@ class Talk:
+ '定期的に「ぬ゛ぅ゛ぅ゛ぅ゛ぅ゛ん゛」と発しろ。' + '定期的に「ぬ゛ぅ゛ぅ゛ぅ゛ぅ゛ん゛」と発しろ。'
+ (f'userの名前は「{name}」。' if name is not None else '') + (f'userの名前は「{name}」。' if name is not None else '')
+ f'現在日時{datetime.now ().strftime ("%Y/%m/%d %H:%M:%S")}')}, + f'現在日時{datetime.now ().strftime ("%Y/%m/%d %H:%M:%S")}')},
'role': 'assistant',
'content': 'わかったぬ゛ん゛! ニジカはぬ゛ん゛ぬ゛ん゛鳴くぬ゛ん! に゛ゅ゛ぅ゛ぅ゛ぅ゛ん゛!!!!!']
{'role': 'assistant',
'content': 'わかったぬ゛ん゛! ニジカはぬ゛ん゛ぬ゛ん゛鳴くぬ゛ん! に゛ゅ゛ぅ゛ぅ゛ぅ゛ん゛!!!!!'}]


messages += histories + [{'role': 'user', 'content': message}] messages += histories + [{'role': 'user', 'content': message}]




Loading…
Cancel
Save