github / github/copilot-cli

Agent configuration needs an effort and length configuration

Đang mở
#3,678 0 bình luận 4 reaction 0 người được giao Xem trên GitHub
area:agents area:configuration area:models
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

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

I can only define which model an agent should be using, but cannot configure anything with that model such as effort level and context length.

### Proposed solution

In [custom agents configuration](https://docs.github.com/en/copilot/reference/custom-agents-configuration) there should be a configuration for effort (like claude code has) and context length.

This would allow me to make research agents that can take advantage of higher reasoning and context length vs task agents who don't necessarily need the added effort and window.

### Example prompts or workflows
Sample agent configuration I'd like:
```
---
name: sample-research-agent
description: "Agent to do some deep research in a large codebase."
tools:
- "*"

# Proposed: structured model configuration block
model: claude-opus-4.7 # base model (decoupled from effort/context)
effort: high # low | medium | high | xhigh (claude code supports this already)
context_length: long # default | long
---
```

Also changes to `task` tool call to launch subagents:
```
// Current (only knob is a suffixed model ID)
{
"agent_type": "general-purpose",
"model": "claude-opus-4.7",
"name": "review-agent-d",
"prompt": "..."
}

// Proposed (orthogonal, composable)
{
"agent_type": "general-purpose",
"model": "claude-opus-4.7",
"effort": "xhigh",
"context_length": "long",
"name": "review-agent-d",
"prompt": "..."
}
```

### Additional context

_No response_

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

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

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.