choizhang
commited on
Commit
·
d94076b
1
Parent(s):
e0cb5fa
docs: Translate annotations
Browse files
lightrag/api/routers/ollama_api.py
CHANGED
@@ -308,7 +308,7 @@ class OllamaAPI:
|
|
308 |
"Cache-Control": "no-cache",
|
309 |
"Connection": "keep-alive",
|
310 |
"Content-Type": "application/x-ndjson",
|
311 |
-
"X-Accel-Buffering": "no", #
|
312 |
},
|
313 |
)
|
314 |
else:
|
|
|
308 |
"Cache-Control": "no-cache",
|
309 |
"Connection": "keep-alive",
|
310 |
"Content-Type": "application/x-ndjson",
|
311 |
+
"X-Accel-Buffering": "no", # Ensure proper handling of streaming responses in Nginx proxy
|
312 |
},
|
313 |
)
|
314 |
else:
|