Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def respond(message, history):
|
|
15 |
|
16 |
|
17 |
if history:
|
18 |
-
|
19 |
|
20 |
response = client.chat_completion(messages, max_tokens=100)
|
21 |
|
|
|
15 |
|
16 |
|
17 |
if history:
|
18 |
+
messages.extend(history)
|
19 |
|
20 |
response = client.chat_completion(messages, max_tokens=100)
|
21 |
|