github / github/copilot-cli

Allow custom agent to be specified via full qualified file path

Đang mở
#1,747 0 bình luận 2 reaction 0 người được giao Xem trên GitHub
area:agents
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

The CLI should allow users to specify their custom agent path fully

### Proposed solution

Currently, copilot only allows custom agents to be referenced by name:
`copilot --agent `

The agents must be in one of the supported locations:
`$repoRoot/.github/agents`
`~/.copilot/agents`

This is limiting and users should be able to specify the fully qualified path to the custom agent definition:
`copilot --agent /path/to/agent`

This should be additive, if the fully qualified path isn't set, it should still look in the default directory locations.

### Example prompts or workflows

_No response_

### 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.