Controls the reasoning/thinking mode for supported models.
True: Enables reasoning mode. The model's reasoning process will be
captured and returned separately in the additional_kwargs of the
response message, under reasoning_content. The main response
content will not include the reasoning tags.False: Disables reasoning mode. The model will not perform any reasoning,
and the response will not include any reasoning content.None (Default): The model will use its default reasoning behavior. Note
however, if the model's default behavior is to perform reasoning, think tags
(<think> and </think>) will be present within the main response content
unless you set reasoning to True.str: e.g. 'low', 'medium', 'high'. Enables reasoning with a custom
intensity level. Currently, this is only supported gpt-oss. See the
Ollama docs
for more information.