This commit is contained in:
2023-10-19 14:05:38 +02:00
parent d505c116d3
commit f573706077
+2 -1
View File
@@ -581,7 +581,8 @@ async def handle_response(prompt, vykidailo, bartender, history, username, music
history = []
history.append(GPT_SETTINGS[0])
for (slowo, reakcja) in word_reactions.items():
temp = {"role : system", "content : Kiedy słyszysz " + slowo + " to reagujesz lub dzieje się to " + reakcja[0]}
if not reakcja[3]:
temp = {"role : system", "content : Kiedy słyszysz " + slowo + " to reagujesz lub dzieje się to " + reakcja[0]}
if music:
history.extend(message_table_muzyka)