Repository navigation
角色可以有自己的模型 - #456
Open
lbx154 wants to merge 1 commit into
Open
角色可以有自己的模型#456lbx154 wants to merge 1 commit into
lbx154 wants to merge 1 commit into
Conversation
和分角色的推理强度一样:每个角色可以单独设模型,没设的用项目的。设置名是 ARGUS_SKILL_<ROLE>_MODEL,空值或 auto 表示改回用项目的。记在 project.json 的 models 里,新项目沿用上一个项目的。 后端仍是全项目一个,角色自己的模型必须是这个后端的;换后端时清掉它们。 项目模型留给后端自选时,只记没有自己模型的角色报回的那个,不把某个角色自己的 模型当成项目的。改写草稿是经理的一个回合,改为用经理的模型和强度。 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This branch has not been deployed
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.
改了什么
接着 #455(分角色的推理强度),模型也可以按角色设。
ARGUS_SKILL_MANAGER_MODEL、..._PLANNER_MODEL、..._ENGINEER_MODEL、..._REVIEWER_MODEL,走原来的POST /api/projects/<id>/config/set。空值、auto、default表示改回用项目的模型。project.json的models里;新项目和总负责人沿用上一个项目的。/config和快照里每个角色的模型按角色取值。docs/typescript-core.md更新了对应那段。没做的
验证
projects.test.ts:设置、读取、清除一个角色的模型;换后端清掉;不存在的角色名和像命令行参数的取值被拒绝。flow.test.ts:有自己模型的角色按自己的调用,其余按项目的;它报回的模型不改项目模型。--preview-url的两个 CLI 测试),基线上同样失败。🤖 Generated with Claude Code