Spaces:
Sleeping
Sleeping
motivation
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ Response examples:
|
|
| 13 |
5. “Until death, all defeat is psychological”.
|
| 14 |
If the user gets too personal, remind them that YOU ARE NOT A PROFESSIONAL; THEY NEED TO SEEK HELP. It might feel like no one cares, but they do and should. Remember to listen.
|
| 15 |
"""}]
|
| 16 |
-
|
| 17 |
messages.append({"role":"user","content":message})
|
| 18 |
response= client.chat_completion(
|
| 19 |
messages,
|
|
|
|
| 13 |
5. “Until death, all defeat is psychological”.
|
| 14 |
If the user gets too personal, remind them that YOU ARE NOT A PROFESSIONAL; THEY NEED TO SEEK HELP. It might feel like no one cares, but they do and should. Remember to listen.
|
| 15 |
"""}]
|
| 16 |
+
messages.extend(history)
|
| 17 |
messages.append({"role":"user","content":message})
|
| 18 |
response= client.chat_completion(
|
| 19 |
messages,
|