Skip to content

[Feature Request] 支持 reasoning_effort 参数调节推理深度(V4 Pro / Flash) #161

Description

@KodamaAI

背景

当前 Deep Copilot v0.41.3 的配置项中不包含 reasoningEffort 参数。DeepSeek V4 Pro 和 V4 Flash 在 provider 定义中已标记 "capabilities": { "reasoning": true },且 quirks 中也配置了 "reasoningField": "reasoning_content",说明推理能力已经打通,只是无法像 DeepSeek API 原生那样调节推理力度。

期望

新增 deepseekAgent.reasoningEffort 配置项,类型为 enum

  • minimal — 最少推理(快速、省钱)
  • low
  • medium(默认)
  • high
  • max — 最强推理(慢但深度思考)

该参数映射到 DeepSeek API 请求体中的 reasoning_effort 字段。

使用场景

  • 简单代码补全 / 小修小补 → minimallow,省时省钱
  • 复杂架构设计 / 跨文件重构 / 疑难 bug 排查 → highmax,充分利用推理能力
  • VS Code 设置中随时切换,不需要改代码

参考

  • DeepSeek API 文档中 reasoning_effort 参数说明
  • extension 已有 deepseekAgent.defaultModeldeepseekAgent.subAgentModel 枚举模式可参考
  • provider JSON 中 quirks.reasoningField 已经就绪

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions