Fix app.py bug
Browse files
app.py
CHANGED
@@ -335,7 +335,7 @@ def add_user_message(
|
|
335 |
)
|
336 |
if message["text"] is not None:
|
337 |
history.append(
|
338 |
-
[message["text"] +
|
339 |
# user msg: str, bot msg: None
|
340 |
)
|
341 |
if THREAD is None:
|
|
|
335 |
)
|
336 |
if message["text"] is not None:
|
337 |
history.append(
|
338 |
+
[message["text"] + chat_instructions, None]
|
339 |
# user msg: str, bot msg: None
|
340 |
)
|
341 |
if THREAD is None:
|