Repository navigation
fix(agent): 上游默认使用已配置 profile - #122
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.
上游 agent 当前会按 use_for 优先挑 profile,并在未指定账号时随机选择 Codex 账号,导致 Offload 中设置的默认值经常被绕过。
此修改统一内置 skill、basic/proactive 安装策略及用户文档:普通新任务省略 profile/model/effort/tier 覆盖,继承 OFFLOAD_PROFILE 或已配置默认值;删除随机选账号脚本和主动轮换建议。覆盖仅用于明确请求、具体任务不兼容或已授权的失败备用方案,并须说明原因。续聊保留原 profile/account,独立 review 默认使用新会话。
验证:安装器与 CLI 相关测试、策略回归测试、go vet ./internal/agentinstall 和 git diff --check 通过。全量 go test ./... 通过(19 个包、1093 项测试);远端 test/macOS CI 均通过。