-
Notifications
You must be signed in to change notification settings - Fork 950
Open
Labels
Description
Describe the bug
The repo I work in has a couple of custom agents .md files defined in .github/agents/ with the following YAML frontmatter block:
---
name: Agent Name
description: Agent description
infer: true
---When I run /agent, it fails with:
✗ No available custom agents:
• /path/.github/agents/1.agent.md: infer: Expected boolean, received string
• /path/.github/agents/2.agent.md: infer: Expected boolean, received string
To learn how to create custom agents, visit:
https://docs.github.com/en/copilot/how-tos/use-copilot-agents/use-copilot-cli#use-custom-agents
Affected version
0.0.389-1
Steps to reproduce the behavior
- Setup project with custom agents with
inferYAML frontmatter property set totrueorfalse - Start
copilot - Run
/agentcommand
Expected behavior
/agent should successfully parse custom agent files.
Additional context
No response