Skip to content

fix(agent): 上游默认使用已配置 profile - #122

Merged
zhoushoujianwork merged 1 commit into
mainfrom
fix/prefer-default-profile
Nov 13, 2026
Merged

zhoushoujianwork merged 1 commit into
mainfrom
fix/prefer-default-profile

Conversation

@zhoushoujianwork

@zhoushoujianwork zhoushoujianwork commented Nov 13, 2026 •

Copy link
Copy Markdown
Owner

上游 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 均通过。

@zhoushoujianwork
zhoushoujianwork merged commit 3023530 into main Nov 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant