langchain/libs/partners/ollama/langchain_ollama
Mason Daugherty 0002b1dafa
ollama[patch]: fix model validation, ensure per-call reasoning can be set, tests (#31927)
* update model validation due to change in [Ollama
client](https://github.com/ollama/ollama) - ensure you are running the
latest version (0.9.6) to use `validate_model_on_init`
* add code example and fix formatting for ChatOllama reasoning
* ensure that setting `reasoning` in invocation kwargs overrides
class-level setting
* tests
2025-07-08 16:39:41 -04:00
..
__init__.py ollama[patch]: ruff fixes and rules (#31924) 2025-07-08 13:42:19 -04:00
_utils.py ollama[patch]: fix model validation, ensure per-call reasoning can be set, tests (#31927) 2025-07-08 16:39:41 -04:00
chat_models.py ollama[patch]: fix model validation, ensure per-call reasoning can be set, tests (#31927) 2025-07-08 16:39:41 -04:00
embeddings.py ollama[patch]: ruff fixes and rules (#31924) 2025-07-08 13:42:19 -04:00
llms.py ollama[patch]: fix model validation, ensure per-call reasoning can be set, tests (#31927) 2025-07-08 16:39:41 -04:00
py.typed