a2aproject / a2aproject/a2a-samples

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

Aperta
#44 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Jupyter Notebook
Stelle
1.8k
Fork
751
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.