Open
Description
Checked other resources
- I added a very descriptive title to this issue.
- I used the GitHub search to find a similar question and didn't find it.
- I am sure that this is a bug in LangChain rather than my code.
- The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).
- I posted a self-contained, minimal, reproducible example. A maintainer can copy it and run it AS IS.
Example Code
might like to close the thinking:
from langchain_ollama import ChatOllama
from internal.core.language_model.entities.model_entity import BaseLanguageModel
llm = ChatOllama(
model="qwen3:8",
model_kwargs={"think": False}
)
Error Message and Stack Trace (if applicable)
No response
Description
I hope to directly close the thinking model through parameters instead of outputting thetag
System Info
ollama 0.9.1