Repository navigation
支持本地 YAML 配置切换与模型指纹检测 - #1
Merged
Merged
Conversation
This was referenced Nov 9, 2026
Closed
Contributor
|
本轮审计已建立跟踪事项 #3 。 核对 PR head 建议在本 PR 内协调:显式 |
Contributor
|
已在本 PR 修复 #3:目标目录顺序为 --target-dir、CODEX_HOME/CLAUDE_CONFIG_DIR、默认 home。两客户端真实 CLI 场景在原实现各失败一次,修复后通过;安装真实 ModelTrace 后全套 33/33 通过、0 skipped。生产净 +2 行,测试 +22 行,使用文档 +2 行。搜索 Path.home|target_dir|CODEX_HOME|CLAUDE_CONFIG_DIR,生产目录选择仅 switch 一处,调用入口共用该规则。 |
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.
读取本地 YAML,提供
add/list/use/check。use生成 Codex 或 Claude Code 配置,保留无关设置并在覆盖前备份;check调用 ModelTrace 检测接口,不修改客户端配置。/responses或/v1。验证:Ubuntu、Windows × Python 3.10、3.12、3.14 六组 CI 各通过 32 项测试;全新环境 wheel 安装、仓库外导入、三协议指纹检测及安装后的
check/use均通过。Windows 本地独立场景 56 项、边界场景 19 项通过,真实 Codex 和 Claude CLI 对模拟接口各 13 回合通过。模型请求仅使用 localhost 和假密钥。