MsAsh commited on
Commit
e562505
·
verified ·
1 Parent(s): 0a95943

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -29,8 +29,8 @@ def add_affirmation_if_missing(text):
29
 
30
  if history:
31
  for user_msg, bot_msg in history:
32
- messages.append({"role": "user", "content": user_msg})
33
- messages.append({"role": "assistant", "content": bot_msg})
34
 
35
  response = client.chat_completion(
36
  messages,
 
29
 
30
  if history:
31
  for user_msg, bot_msg in history:
32
+ messages.append({"role": "user", "content": user_msg})
33
+ messages.append({"role": "assistant", "content": bot_msg})
34
 
35
  response = client.chat_completion(
36
  messages,