Update app.py
Browse files
app.py
CHANGED
|
@@ -1663,7 +1663,7 @@ def launch_ui(bootstrap_instance: "Bootstrap"):
|
|
| 1663 |
|
| 1664 |
if hive_instance.lite_mode:
|
| 1665 |
# Lite mode: direct, non-streaming response.
|
| 1666 |
-
reply = hive_instance.chat(sanitized_m, effective_role, current_user_id
|
| 1667 |
current_history.append({"role": "assistant", "content": reply or "[No response from model]"})
|
| 1668 |
yield current_history, gr.Textbox(value="", interactive=True)
|
| 1669 |
else:
|
|
|
|
| 1663 |
|
| 1664 |
if hive_instance.lite_mode:
|
| 1665 |
# Lite mode: direct, non-streaming response.
|
| 1666 |
+
reply = hive_instance.chat(sanitized_m, effective_role, current_user_id)
|
| 1667 |
current_history.append({"role": "assistant", "content": reply or "[No response from model]"})
|
| 1668 |
yield current_history, gr.Textbox(value="", interactive=True)
|
| 1669 |
else:
|