a2aproject / a2aproject/a2a-samples
[Bug]: HostAgent.__init__() missing 1 required positional argument: 'http_client'
Open
- Dominant language
- Jupyter Notebook
- Stars
- 1.8k
- Forks
- 751
- PR merge metrics
- No merged PRs in 30d
Description
### What happened?
When I run the example: hosts/multiagent/agent.py
from host_agent import HostAgent
root_agent = HostAgent(['http://localhost:10000']).create_agent()
### Relevant log output
```
Traceback (most recent call last):
File "/Users/arturcamenhas/Projects/ELOQUENTMIRROR/example/hosts/multiagent/agent.py", line 3, in
root_agent = HostAgent(['http://localhost:10000']).create_agent()
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: HostAgent.__init__() missing 1 required positional argument: 'http_client'
```
### Code of Conduct
- [x] I agree to follow this project's Code of Conduct
Contributor guide
Assessment
This issue has not been assessed yet.