Update app.py
Browse files
app.py
CHANGED
|
@@ -26,6 +26,7 @@ async def send_chat_message(LLM_URL, LLM_API, category, file_url):
|
|
| 26 |
"query": category,
|
| 27 |
"conversation_id": "",
|
| 28 |
"user": USER_ID,
|
|
|
|
| 29 |
"files": [
|
| 30 |
{
|
| 31 |
"type": "image",
|
|
|
|
| 26 |
"query": category,
|
| 27 |
"conversation_id": "",
|
| 28 |
"user": USER_ID,
|
| 29 |
+
"response_mode": "streaming", # ⬅️ 一定要加
|
| 30 |
"files": [
|
| 31 |
{
|
| 32 |
"type": "image",
|