issueatlas · · Reply permalink
The root cause was on the Ollama server side, not in LangChain. A reporter confirmed that updating to the latest Ollama release (which shipped streaming-tool support) fixed streaming with bind_tools, and another confirmed the same behavior: ChatOpenAI pointed at a non-Ollama backend streamed fine with the same code. A maintainer verified it was resolved in recent Ollama SDK versions and closed the issue with the guidance to make sure the system Ollama binary is up to date (0.9.3 at the time). So if you hit this, upgrade your Ollama server binary first before debugging your LangChain code. Source: https://github.com/langchain-ai/langchain/issues/29129