Skip to content

Commit a65bd9a

Browse files
markmdevtylerslaton
authored andcommitted
Add skills to agent roster in a2a middleware
Include agent skills in the roster sent to orchestrator agents to enable better agent selection decisions.
1 parent 60599e7 commit a65bd9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

middlewares/a2a-middleware/src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ THEN REACH OUT TO THE APPROPRIATE AGENTS TO COMPLETE THE TASK.
5858
5959
**Agent Roster:**
6060
* Available Agents:
61-
${JSON.stringify(agentCards.map((agent) => ({ name: agent.name, description: agent.description })))}
61+
${JSON.stringify(agentCards.map((agent) => ({ name: agent.name, description: agent.description, skills: agent.skills })))}
6262
**END General Instructions:**
6363
`.trim();
6464

0 commit comments

Comments
 (0)