Skip to content

v1.14.1

Choose a tag to compare

@OnesoftQwQ OnesoftQwQ released this 15 Nov 08:45
· 29 commits to master since this release
4b2d57b

温度参数发送策略调整

  • 默认档位不再发送 Temperature:新增内置「默认」预设并设为 opencodego.modelPreset 的默认值,不发送 temperature 与 top_p,各模型沿用上游默认值,与 OpenCode v2 不再主动发送温度的行为一致(#151)。预设定义中的 temperature 改为可选,省略即表示不发送。
  • GPT Luna 系列不再发送 Temperature:gpt-5.6-luna 与 gpt-6-luna 经 Responses 协议拒绝该参数(400 Unsupported parameter: 'temperature' is not supported with this model),已在模型覆盖表中标记为不支持,Chat Completions / Responses / Anthropic 三种请求均不再携带(#152)。
  • 预设选择器显示「模型默认」:选择默认档位或其他省略温度的自定义预设时,命令面板与提示消息显示「模型默认」而不是空值。

测试与文档

  • 新增 scripts/test-temperature-preset.mjs:覆盖默认、自定义与具名预设分支,以及 GPT Luna 系列在三种请求构建器下均不携带 temperature(已接入 npm test)。
  • 同步更新 README(中英)、package.nls*、欢迎页 walkthrough 与 docs/(架构流程、参考手册)。