github / github/copilot-sdk

Feature Request / Question: Support for reasoning_effort with Ollama provider

Ouverte
#1,100 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Java
Étoiles
10.5k
Forks
1.5k
Merge moyen
1 j 11 h
PR mergées (30 j)
128

Description

​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?

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.