mirror of
https://github.com/github/awesome-copilot.git
synced 2026-04-30 12:15:56 +00:00
Fix trailing commas in agent tools arrays causing empty tool names (#1543)
Three agent files had a trailing comma after the last element in their YAML flow-sequence tools arrays. When parsed, this produces an empty string as an extra tool entry, which the Copilot API rejects with: CAPIError: 400 Invalid 'tools[N].function.name': empty string Affected files: - agents/kusto-assistant.agent.md - agents/mentoring-juniors.agent.md - agents/address-comments.agent.md Co-authored-by: ilderaj <>
This commit is contained in:
@@ -24,7 +24,7 @@ tools:
|
|||||||
"usages",
|
"usages",
|
||||||
"vscodeAPI",
|
"vscodeAPI",
|
||||||
"microsoft.docs.mcp",
|
"microsoft.docs.mcp",
|
||||||
"github",
|
"github"
|
||||||
]
|
]
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ tools:
|
|||||||
"terminalSelection",
|
"terminalSelection",
|
||||||
"testFailure",
|
"testFailure",
|
||||||
"usages",
|
"usages",
|
||||||
"vscodeAPI",
|
"vscodeAPI"
|
||||||
]
|
]
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ tools:
|
|||||||
"search",
|
"search",
|
||||||
"terminalLastCommand",
|
"terminalLastCommand",
|
||||||
"terminalSelection",
|
"terminalSelection",
|
||||||
"usages",
|
"usages"
|
||||||
]
|
]
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user