feat: 升级环境依赖、实现模型 ID 解耦转换及增强 Dashboard 交互体验#12
Open
violettoolssite wants to merge 3 commits intolibaxuan:mainfrom
Open
feat: 升级环境依赖、实现模型 ID 解耦转换及增强 Dashboard 交互体验#12violettoolssite wants to merge 3 commits intolibaxuan:mainfrom
violettoolssite wants to merge 3 commits intolibaxuan:mainfrom
Conversation
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.
📝 摘要
本 PR 旨在提升项目的生产环境稳定性和开发者使用体验。主要涵盖了环境要求的标准化(Go 1.24 + Node.js)、模型 ID 的解耦映射逻辑、以及 Dashboard UI 的专业化增强。
🚀 主要改动
1. 基础设施与环境标准化
2. 模型映射逻辑解耦 (Model Mapping)
claude-opus-4.6),而代理会自动将其转换为上游官方识别的 ID(如Opus 4.6)。claude-opus-4.6的上下文窗口至 1M (1,000,000),最大输出 Token 提升至 128K。gpt-5.2-high、gpt-codex-5.3-high等新型号的默认配置。3. Dashboard UI 深度优化
window.location.origin,动态填充 Base URL 和集成指令,不再需要硬编码域名。M单位(如 1M),并根据数值自动缩放。🧪 验证结果
claude-opus-4.6请求可正确触发上游Opus 4.6的逻辑,并应用正确的上下文限制。🔗 相关 Issue