github / github/copilot-cli

Support for configurable models for internal sub-tasks (Example: Subagents(Explore, Task, etc) and Compaction)

Open
#2,032 0 comments 2 reactions 0 assignees View on GitHub
area:agents area:context-memory area:models
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### Describe the feature or problem you'd like to solve

Currently, the Copilot CLI uses the primary chat model to handle auxiliary tasks like context compaction. I propose decoupled model configuration. This would allow users to map specific sub tasks, such as summarization/compaction and task agent execution to different models based on the difficulty of the required task. For example: I would like to use a lightweight model for compaction but a more knowledgable model for task execution/exploring.

### Proposed solution

Introduce a configuration section (in config.json) that allows mapping tasks/default subagents types to specific models.

### Example prompts or workflows

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.