Replies: 2 comments 1 reply
-
Extended functionality ? or the classes? |
Beta Was this translation helpful? Give feedback.
1 reply
-
I updated my versions and ran a simple a2a server successfully. I couldn't expose AgentSkills, though. The code below: strands_a2a_agent = A2AAgent(agent=strands_agent)
agent_skill = AgentSkill(
id="calculator",
name="Calculator Agent",
description="A special agent that can run math calculations",
tags=["calculator","sum","multiply","divide","subtract"],
examples=["What is 100 x 2","What is 100 / 2","What is 100 + 2","What is 100 - 2"],
inputModes=["text"],
outputModes=["text"],
)
strands_a2a_agent.agent_skills.append(agent_skill)
print (strands_a2a_agent.agent_skills) Displays an empty array ([]) The agent card @ http://localhost:9000/.well-known/agent.json also shows an empty skills list: {"capabilities":{},"defaultInputModes":["text"],"defaultOutputModes":["text"],"description":"A special agent that can run math calculations","name":"Calculator Agent","protocolVersion":"0.2.5","skills":[],"url":"http://0.0.0.0:9000/","version":"0.0.1"} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Especially with the new donation of A2A to Linux Foundation and direct AWS sponsorship.
Beta Was this translation helpful? Give feedback.
All reactions