Feature Request / Question: Support for reasoning_effort with Ollama provider
Context I am using @copilot-kit/sdk, and I want to configure Ollama as my LLM provider.
The Issue I would like to know if it is possible to configure the reasoning_effort parameter (low, medium, high) through the SDK when using the Ollama provider (the "think" parameter in ollama takes only 2 values (True/False)) . Currently, I cannot find a clear way to pass this specific parameter in the provider configuration or the request options.
Proposed / Asked behavior Is there an existing way to pass provider-specific parameters like reasoning_effort to Ollama? If not, are there plans to support this to allow better control over "thinking" tokens?
Yes — with the GitHub Copilot SDK (@github/copilot-sdk), configure Ollama as an OpenAI-compatible BYOK provider (provider: { type: "openai", baseUrl: "http://localhost:11434/v1" }) and set reasoningEffort (for example "low", "medium" or "high") on the session config. For BYOK providers the setting is sent as the standard reasoning_effort request field (applied since Copilot CLI 1.0.13), and Ollama's OpenAI-compatible API maps it to the model's thinking control — models that only support on/off thinking simply have thinking enabled. See the BYOK guide for provider setup details. Closing as answered — feel free to reopen if this doesn't cover your case.
Triaged as part of a Copilot SDK backlog review, with help from GitHub Copilot.