a2aproject / a2aproject/a2a-samples

[Bug]: HostAgent.__init__() missing 1 required positional argument: 'http_client'

未关闭
#25 0 条评论 0 个 reaction 已指派 1 人 已被 @kthota-g 认领 在 GitHub 查看
主要语言
Jupyter Notebook
星标
1.8k
派生
751
PR 合并指标
30 天内没有已合并 PR

描述

### 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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。