CommandCodeAI / CommandCodeAI/command-code

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

Đang mở
#380 1 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

p2
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
4k
Fork
350
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu bằng cách lần theo cách Command Code hiện đang chọn model cho planning, edit, auto-accept, YOLO và các agent tùy chỉnh, sau đó kiểm tra việc phân tích cú pháp các tùy chọn CLI để ghi đè model tạm thời. Được xem là hoàn tất khi các giá trị mặc định của mode, các liên kết theo từng agent và phần ghi đè mẫu bằng --model đều hoạt động mà không làm gián đoạn workflow Explore-Plan-Execute.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Lĩnh vực
ai-infra-agents, cli
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.