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