Add API option "think" in Ollama nodes (to disable/enable thinking mode in the API call)

It would help if there was support for think API option in existing Ollama nodes:

My use case:

The Ollama nodes should accept the API option “think”: false|true to allow the choice to disable thinking mode completely in ollama models that support it. The API sopport’s it natively and it’s recommended to use over /no_think (which does not work in recent versions of ollama any more, seemingly)

Any resources to support this?

Are you willing to work on this?

I would be willing to test it. I tried to look at the node definition code, but I am not sure if it’s enough to add the option definition to the description.ts. But I guess it might be only a very small effort for someone who knows what to do :wink: