a2aproject / a2aproject/a2a-samples

The function call name is not the same in prompt and tools

Offen
#44 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Jupyter Notebook
Sterne
1.8k
Forks
751
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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_task` to assign tasks to remote agents to perform.

https://github.com/google/A2A/blob/b52c2ebb381f2769159af90e35ac975313f59fd4/samples/python/hosts/multiagent/host_agent.py#L96

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.