Repository navigation
Conversation
Give streaming requests at least 8192 total output tokens when reasoning is enabled, while preserving disabled reasoning budgets. Report a provider error if the budget is exhausted before visible output and retain usage accounting. Cover real Copilot-to-provider requests for generic and DeepSeek configurations, empty truncation, and partial answers.
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.
变更说明
reasoning_effort贯通设置契约、持久化、解析和普通/流式请求,并重新生成 OpenAPI 与前端类型。max_completion_tokens;未选择时保留上游默认行为。范围与兼容性
本 PR 独立基于上游
main,不依赖 Markdown 修复 PR。不包含 Docker 配置、本地部署文件、Windows 安装包、其他索引/Embedding 改动或模型提示词调整。新字段可选,旧配置继续兼容;档位是否可用仍取决于实际模型和网关支持。
实际验证
bun --no-env-file run gen:api:生成件一致性检查通过。bun --no-env-file run check --publish never:最终退出码 0;后端 556 项、前端 Node 22 项及 Bun 33 项测试通过;类型、架构边界、ESLint、API/Web/Electron 构建和 Windows 未安装目录打包通过。high,测试和保存请求均携带该值;刷新后仍为high,Temperature 禁用,未出现未知业务请求。git diff --check通过。验证未使用真实用户资料或付费模型;既有非阻塞 ESLint 警告和 Vite 分块体积警告不在本 PR 范围。
界面截图
截图使用合成配置,不含真实凭据。