Files
langchain/libs/core/langchain_core
Mason Daugherty e686a70ee0 ollama: thinking, tool streaming, docs, tests (#31772)
* New `reasoning` (bool) param to support toggling [Ollama
thinking](https://ollama.com/blog/thinking) (#31573, #31700). If
`reasoning=True`, Ollama's `thinking` content will be placed in the
model responses' `additional_kwargs.reasoning_content`.
  * Supported by:
    * ChatOllama (class level, invocation level TODO)
    * OllamaLLM (TODO)
* Added tests to ensure streaming tool calls is successful (#29129)
* Refactored tests that relied on `extract_reasoning()`
* Myriad docs additions and consistency/typo fixes
* Improved type safety in some spots

Closes #29129
Addresses #31573 and #31700
Supersedes #31701
2025-07-07 13:56:41 -04:00
..
2025-07-07 13:02:40 -04:00
2025-07-07 13:02:40 -04:00
2025-07-07 13:02:40 -04:00
2025-07-07 13:02:40 -04:00
2025-07-07 13:02:40 -04:00
2025-07-07 13:02:40 -04:00
2025-07-07 13:02:40 -04:00
2025-07-07 13:02:40 -04:00
2025-05-15 15:43:57 -04:00
2025-07-07 13:02:40 -04:00
2025-07-07 13:02:40 -04:00
2025-07-03 12:36:25 -04:00