Add documentation about when an endpoint parameter is required for the Bureau class #575
Open
2 tasks done
Labels
a-documentation
Area: Documentation - changes to the documentation only
c-feature
Category: New feature or request
s-confirmed
Status: This is a confirmed issue
Prerequisites
Feature
While looking at Fetch.ai's uAgents framework documentation, we noticed that our agents were not registering on the Almanac Contract.
Looking at this documentation, we noticed that our agents, that were added into a Bureau, were not registering on the Almanac Contract; thus, we could not communicate with the agents at all. We were using the code example in the image below and the documentation specified, and it was not registering on the Almanac Contract. The endpoint parameter is specified as optional, but in this case, it is required even when the agents have an endpoint parameter specified.
It pops up with this warning when no endpoint is provided for the bureau:
WARNING: [Risk Analyzer Agent]: No endpoints provided. Skipping registration: Agent won't be reachable.
In the documentation linked above, there should be more clarification on when the endpoint parameter for the Bureau class needs to be specified. The code examples might need to be updated as well. It would also probably be best to also specify when a bureau needs an endpoint parameter in the logs itself.
Perhaps something similar to:
[bureau]: No endpoint parameter specified for the bureau. All agents in this bureau won't be reachable.
Additional Information (Optional)
Was told to create an issue about this by our Fetch.ai mentors.
The text was updated successfully, but these errors were encountered: