github / github/copilot-sdk

Feature Request / Question: Support for reasoning_effort with Ollama provider

未关闭
#1,100 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
10.5k
派生
1.5k
平均合并
1 天 14 小时
30 天内合并 PR
129

描述

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

贡献指南

打开贡献指南

调研方向

首先追踪 SDK 中 Ollama provider 的配置和请求选项,然后比较其他地方如何处理 provider 特有的参数。确定 reasoning_effort 或 Ollama 的 think 设置是否已有入口,并将完成定义为存在一种有文档说明或已实现的方式,可通过 provider 对其进行控制。

由索引模型根据 Issue 内容生成。

评估

技术栈
ollama
领域
ai
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
冷清
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。