[Bug]: as_query_engine(streaming=True) buffers entire response into a single-item generator when using local LLM
![[Bug]: as_query_engine(streaming=True) buffers entire response into a single-item generator when using local LLM](https://www.chat-gpts.plus/wp-content/uploads/2026/06/22183-748ac896-768x403.jpg)
用户在 macOS 上使用 LlamaIndex 0.14 版本,通过 Ollama 封装本地 8B 模型( llama3.1:8b-instruct-q4_K_M ),调用 index.as_query_engine(streaming=True) 时触发。依赖包括 llama-index (>=








