choizhang commited on
Commit
d94076b
·
1 Parent(s): e0cb5fa

docs: Translate annotations

Browse files
Files changed (1) hide show
  1. lightrag/api/routers/ollama_api.py +1 -1
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", # 确保在Nginx代理时正确处理流式响应
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: