a2aproject / a2aproject/a2a-samples

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

Abierto
#44 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Jupyter Notebook
Estrellas
1.8k
Forks
751
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.