reasoning method
Enables thinking for reasoning models
When enabled, the model will think before responding. Only works with models that support reasoning/thinking.
- true: Enable reasoning mode
- false: Disable reasoning mode (default)
Implementation
OllamaBuilder reasoning(bool enabled) {
_baseBuilder.extension('reasoning', enabled);
return this;
}