Skip to content

Commit 98d57a1

Browse files
committed
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 98d57a1

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)