feat(models): add langchain-ollama for native Ollama thinking support (#2062)

Add langchain-ollama as an optional dependency and provide ChatOllama
config examples, enabling proper thinking/reasoning content preservation
for local Ollama models.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Javen Fang
2026-04-10 08:38:31 +08:00
committed by GitHub
parent f88970985a
commit 133ffe7174
2 changed files with 36 additions and 0 deletions
+1
View File
@@ -36,6 +36,7 @@ dependencies = [
]
[project.optional-dependencies]
ollama = ["langchain-ollama>=0.3.0"]
pymupdf = ["pymupdf4llm>=0.0.17"]
[build-system]