Merged
Conversation
为 Chat Completions 和 Responses API 统一 thinking 参数构建逻辑: - 新增 thinking_effort / thinking_effort_style 配置字段,支持 OpenAI(reasoning.effort)和 Anthropic(output_config.effort)两种传参风格 - thinking_effort 非空时使用 adaptive 模式,否则回退 legacy budget_tokens 模式 - WebUI reasoning_effort 改为手动输入,新增 thinking_effort_style 下拉选项 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ort_style 移除独立的 thinking_effort 字段,复用 reasoning_effort 控制 adaptive thinking: reasoning_enabled=True 时自动启用 adaptive 模式并根据 reasoning_effort_style 决定 effort 传参路径(openai → reasoning / anthropic → output_config)。 同时移除 reasoning_effort 的固定值校验,允许用户填写任意值。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
sync_config_template.py 新增 --prune 选项,列出并删除存在于 config.toml 但不存在于 config.toml.example 中的配置项,需二次确认。 WebUI 同步模板后若检测到多余项也会弹窗询问是否清理。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
主要变更
配置系统
sync_config_template.py新增--prune参数,可自动移除用户配置中已废弃的配置项AI 推理参数
thinking_effort到reasoning_effort,统一推理控制reasoning_effort_style→reasoning_effort(向后兼容)test_llm_request_params.py测试推理参数传递文档
/naga命令说明文档测试
影响范围