The function call name is not the same in prompt and tools
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 75/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- python
- Domain
- documentation
Research direction
The issue points to line 96 in samples/python/hosts/multiagent/host_agent.py. Look at the tools list and the prompt text to find the mismatch between send_task and create_task. Update the prompt string to use send_task to match the actual function name, then verify the change by running any related tests or checking the script's behavior.
Written by the indexing model from the issue text.
Description
in tools ,the function tool is named send_task
tools=[
self.list_remote_agents,
self.send_task,
],
but in prompt it is named as create_task
- For actionable tasks, you can use
create_taskto assign tasks to remote agents to perform.
- Dominant language
- Jupyter Notebook
- Stars
- 1.8k
- Forks
- 759
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from a2aproject/a2a-samples
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
a2aproject/a2a-samples#696 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
a2aproject/a2a-samples#686 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
a2aproject/a2a-samples#597 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
a2aproject/a2a-samples#551 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
a2aproject/a2a-samples#529 · 2 comments · 1 reaction ·
All issues in a2aproject/a2a-samples
Similar issues
-
user-reported
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Kong/developer.konghq.com#7316 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Ecosystem: ClawMetry — the Qwen Code reader is now free and open source (follow-up to #9294 / #9338) Opencategory/integration priority/P3 scope/documentation status/ready-for-human type/feature-request
Difficulty 1/5 Under an hour Newbie friendliness 84/100