Disable thinking/reasoning with Ollama provider (+ Ollama cloud)

Hey, I want to disable thinking/reasoning using ollama-ai-provider-v2 for an agent (new Agent(... I am using Ollama cloud + gpt-oss:20b-cloud I tried the Multiple CoreSystemMessages thing but it's not working https://mastra.ai/en/reference/agents/agent#multiple-coresystemmessages
Reference: Agent Class | Agents | Mastra Docs
Documentation for the Agent class in Mastra, which provides the foundation for creating AI agents with various capabilities.
3 Replies
Mastra Triager
GitHub
[DISCORD:1420691359852920832] Disable thinking/reasoning with Ollam...
This issue was created from Discord post: https://discord.com/channels/1309558646228779139/1420691359852920832 Hey, I want to disable thinking/reasoning using ollama-ai-provider-v2 for an agent (ne...
_roamin_
_roamin_4w ago
Hi @altab ! I don't think you can really turn off reasoning on gpt-oss models unfortunately
altab
altabOP4w ago
ok thanks !

Did you find this page helpful?