fix(codex-profile): 修改config.toml时保留自定义cm配置 / preserve custom cm provider fields - #399
Merged
Merged
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.
变更摘要
[model_providers.cm]的问题。name、experimental_bearer_token及其他自定义字段。base_url、wire_api和supports_websockets。name缺失时仍补充默认值CodexManager。改动范围
主要文件
crates/service/src/codex_profile.rscrates/service/src/codex_profile_tests.rs验证
pnpm -C apps run testpnpm -C apps run buildpnpm -C apps run test:uicargo test --workspace已执行的实际验证:
未执行或未完全通过的验证与原因:
风险与影响面
[model_providers.cm]合并行为。base_url、wire_api、supports_websockets仍以 CodexManager 状态为准。auth.json写入逻辑和模型目录同步逻辑未改变。备注