CommandCodeAI / CommandCodeAI/command-code

Feature Request: Per-Mode and Per-Agent LLM Routing

未关闭
#380 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

p2
主要语言
没有语言数据
星标
4k
派生
350
PR 合并指标
30 天内没有已合并 PR

描述

Feature Description
Mode-Specific Model Routing: Users can define a default model for each of Command Code's core operational modes.
  • Planning Mode (planning): Maps to high-parameter, reasoning-heavy models (e.g., Deepseek V4 Pro, GLM 5.1) for complex architectural design, system breakdown, and step-by-step logic generation.
  • Edit Mode (edit): Maps to fast, highly capable coding models optimized for syntax and refactoring to execute the plan quickly.
  • Auto-Accept Mode (auto-accept): Maps to ultra-fast, low-latency models for rapid, low-risk changes (e.g., fixing linting errors, adding docstrings) where developer oversight is bypassed.
  • YOLO Mode (yolo): Maps to high-context, highly capable models authorized to make sweeping, project-wide changes with deep contextual understanding.
  • Custom Agent Model Binding: Users creating specialized, domain-specific agents within Command Code can lock a specific model to that agent.
  • CLI Flag Overrides: The ability to temporarily override the default model for a specific session or command using a flag (e.g., command-code --plan --model deepseek-v4-pro).
Use Case
Explore-Plan-Execute Workflow
  • Launching off multiple agents to explore legacy repo, each using lower cost and faster agents with big context windows
  • Planning with SOTA OSS models with high reasoning capabilities
  • Execute plans proposed by the Planning model using a cost effective model
Additional Context

No response

How important is this to you?

Important for my workflow

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先跟踪 Command Code 当前如何为规划、编辑、auto-accept、YOLO 和自定义 agent 选择模型,然后检查 CLI 选项解析,以实现临时模型覆盖。完成的标准是:模式默认值、每个 agent 的绑定以及示例 --model 覆盖都能正常工作,且不会干扰 Explore-Plan-Execute 工作流。

由索引模型根据 Issue 内容生成。

评估

领域
ai-infra-agents, cli
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
冷清
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。