a2aproject / a2aproject/a2a-samples

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

Đang mở
#25 0 bình luận 0 reaction 1 người được giao Được @kthota-g nhận Xem trên GitHub
Ngôn ngữ chính
Jupyter Notebook
Star
1.8k
Fork
751
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.