Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ def respond(message, history):
|
|
| 11 |
if history:
|
| 12 |
messages.extend(history)
|
| 13 |
|
| 14 |
-
message.append({"role": "
|
| 15 |
|
| 16 |
|
| 17 |
responses = client.chat_completion(
|
|
|
|
| 11 |
if history:
|
| 12 |
messages.extend(history)
|
| 13 |
|
| 14 |
+
message.append({"role": "user", "content":message})
|
| 15 |
|
| 16 |
|
| 17 |
responses = client.chat_completion(
|