CSAle commited on
Commit
40135fa
1 Parent(s): 9113fd3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ def start_chat():
31
  @cl.on_message # marks a function that should be run each time the chatbot receives a message from a user
32
  async def main(message: str):
33
  message_history = cl.user_session.get("message_history")
34
- message_history.append({"role": "user", "content": message})
35
 
36
  msg = cl.Message(content="")
37
 
 
31
  @cl.on_message # marks a function that should be run each time the chatbot receives a message from a user
32
  async def main(message: str):
33
  message_history = cl.user_session.get("message_history")
34
+ message_history.append({"role": "user", "content": message + " Think through your response step by step."})
35
 
36
  msg = cl.Message(content="")
37