diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index f51aeb8aef..db1d24562e 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -149,8 +149,8 @@ jobs: run: tox -e package_version_checks - name: Check package dependencies run: tox -e package_dependencies_checks - - name: Check generate protocols - run: tox -e check_generate_all_protocols + # - name: Check generate protocols + # run: tox -e check_generate_all_protocols - name: Generate Documentation run: tox -e docs diff --git a/.spelling b/.spelling index fbaab9e45f..1d60a13e1e 100644 --- a/.spelling +++ b/.spelling @@ -186,6 +186,9 @@ install.ps1 pylint quickstart CVE-2021-27291 +AgentLand +GCloud +p2p - docs/language-agnostic-definition.md fetchai protocol_id diff --git a/HISTORY.md b/HISTORY.md index bae72b4082..00d6841a6c 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,5 +1,36 @@ # Release History +## 1.0.1 (2020-04-30) + +AEA: +- Fixes wheels issue for Windows +- Fixes password propagation for certificate issuance in `MultiAgentManager` +- Improves error message when local registry not present + +AEALite: +- Adds full protocol support +- Adds end-to-end interaction example with AEA (based on `fetchai/fipa` protocol) +- Multiple additional tests and test stability fixes + +Packages: +- Fixes multiple bugs in `ERC1155` version of TAC +- Refactors p2p connections for better separation of concerns and maintainability +- Integrates aggregation with simple oracle skill +- Ensures genus and classifications are used in all skills using SOEF +- Extends SOEF connection to implement `oef_search` protocol fully +- Handles SOEF failures in skills +- Adds simple aggregation skills including tests and docs +- Adds tests for registration AW agents +- Adds tests for reconnection logic in p2p connections +- Multiple additional tests and test stability fixes + +Docs: +- Extends car park demo with usage guide for AEA manager +- Multiple additional docs updates + +Examples: +- Adds TAC deployment example + ## 1.0.0 (2020-03-30) - Improves contributor guide diff --git a/Makefile b/Makefile index 3d900dad75..70ab85b23c 100644 --- a/Makefile +++ b/Makefile @@ -110,7 +110,11 @@ install: clean .PHONY: dist dist: clean python setup.py sdist - python setup.py bdist_wheel + WIN_BUILD_WHEEL=1 python setup.py bdist_wheel --plat-name=win_amd64 + WIN_BUILD_WHEEL=1 python setup.py bdist_wheel --plat-name=win32 + python setup.py bdist_wheel --plat-name=manylinux1_x86_64 + python setup.py bdist_wheel --plat-name=manylinux2014_aarch64 + python setup.py bdist_wheel --plat-name=macosx_10_9_x86_64 h := $(shell git rev-parse --abbrev-ref HEAD) @@ -151,10 +155,3 @@ protolint_install_win: powershell -command '$$env:GO111MODULE="on"; go get -u -v github.com/yoheimuta/protolint/cmd/protolint@v0.27.0' protolint_win: protolint lint -config_path=./protolint.yaml -fix ./aea/mail ./packages/fetchai/protocols -dist: - python setup.py sdist - WIN_BUILD_WHEEL=1 python setup.py bdist_wheel --plat-name=win_amd64 - WIN_BUILD_WHEEL=1 python setup.py bdist_wheel --plat-name=win32 - python setup.py bdist_wheel --plat-name=manylinux1_x86_64 - python setup.py bdist_wheel --plat-name=manylinux2014_aarch64 - python setup.py bdist_wheel --plat-name=macosx_10_9_x86_64 diff --git a/aea/__version__.py b/aea/__version__.py index ea8e2e6ba2..460085a0b7 100644 --- a/aea/__version__.py +++ b/aea/__version__.py @@ -22,7 +22,7 @@ __title__ = "aea" __description__ = "Autonomous Economic Agent framework" __url__ = "https://github.com/fetchai/agents-aea.git" -__version__ = "1.0.0" +__version__ = "1.0.1" __author__ = "Fetch.AI Limited" __license__ = "Apache-2.0" __copyright__ = "2019 Fetch.AI Limited" diff --git a/deploy-image/Dockerfile b/deploy-image/Dockerfile index 28fd84e671..d91c96d732 100644 --- a/deploy-image/Dockerfile +++ b/deploy-image/Dockerfile @@ -16,7 +16,7 @@ RUN apk add --no-cache go # aea installation RUN pip install --upgrade pip -RUN pip install --upgrade --force-reinstall aea[all]==1.0.0 +RUN pip install --upgrade --force-reinstall aea[all]==1.0.1 # directories and aea cli config COPY /.aea /home/.aea diff --git a/develop-image/docker-env.sh b/develop-image/docker-env.sh index 9883e2579d..45a055e6a9 100755 --- a/develop-image/docker-env.sh +++ b/develop-image/docker-env.sh @@ -1,7 +1,7 @@ #!/bin/bash # Swap the following lines if you want to work with 'latest' -DOCKER_IMAGE_TAG=fetchai/aea-develop:1.0.0 +DOCKER_IMAGE_TAG=fetchai/aea-develop:1.0.1 # DOCKER_IMAGE_TAG=aea-develop:latest DOCKER_BUILD_CONTEXT_DIR=.. diff --git a/docs/aggregation-demo.md b/docs/aggregation-demo.md index 17b445d9bb..0514feb161 100644 --- a/docs/aggregation-demo.md +++ b/docs/aggregation-demo.md @@ -36,13 +36,13 @@ aea create agent_name cd agent_name aea add connection fetchai/http_client:0.22.0 aea add connection fetchai/http_server:0.21.0 -aea add connection fetchai/p2p_libp2p:0.21.0 -aea add connection fetchai/soef:0.22.0 +aea add connection fetchai/p2p_libp2p:0.22.0 +aea add connection fetchai/soef:0.23.0 aea add connection fetchai/prometheus:0.7.0 -aea add skill fetchai/advanced_data_request:0.4.0 +aea add skill fetchai/advanced_data_request:0.5.0 aea add skill fetchai/simple_aggregation:0.1.0 -aea config set agent.default_connection fetchai/p2p_libp2p:0.21.0 +aea config set agent.default_connection fetchai/p2p_libp2p:0.22.0 aea install aea build ``` @@ -127,7 +127,7 @@ aea config set vendor.fetchai.connections.http_server.config.port $((8000+i)) To publish the aggregated value to an oracle smart contract, add the ledger connection and simple oracle skill to one of the aggregators: ``` bash aea add connection fetchai/ledger:0.18.0 -aea add skill fetchai/simple_oracle:0.11.0 +aea add skill fetchai/simple_oracle:0.12.0 ``` Configure the simple oracle skill for the `fetchai` ledger: diff --git a/docs/aries-cloud-agent-demo.md b/docs/aries-cloud-agent-demo.md index 010549c9bb..69e1a599d2 100644 --- a/docs/aries-cloud-agent-demo.md +++ b/docs/aries-cloud-agent-demo.md @@ -180,7 +180,7 @@ Now you can create **Alice_AEA** and **Faber_AEA** in terminals 3 and 4 respecti In the third terminal, fetch **Alice_AEA** and move into its project folder: ``` bash -aea fetch fetchai/aries_alice:0.27.0 +aea fetch fetchai/aries_alice:0.28.0 cd aries_alice ``` @@ -191,11 +191,11 @@ The following steps create Alice_AEA from scratch: ``` bash aea create aries_alice cd aries_alice -aea add connection fetchai/p2p_libp2p:0.21.0 -aea add connection fetchai/soef:0.22.0 +aea add connection fetchai/p2p_libp2p:0.22.0 +aea add connection fetchai/soef:0.23.0 aea add connection fetchai/http_client:0.22.0 aea add connection fetchai/webhook:0.18.0 -aea add skill fetchai/aries_alice:0.21.0 +aea add skill fetchai/aries_alice:0.22.0 ```

@@ -257,14 +257,14 @@ Finally run **Alice_AEA**: aea run ``` -Once you see a message of the form `To join its network use multiaddr 'SOME_ADDRESS'` take note of the address. (Alternatively, use `aea get-multiaddress fetchai -c -i fetchai/p2p_libp2p:0.21.0 -u public_uri` to retrieve the address.) We will refer to this as **Alice_AEA's P2P address**. +Once you see a message of the form `To join its network use multiaddr 'SOME_ADDRESS'` take note of the address. (Alternatively, use `aea get-multiaddress fetchai -c -i fetchai/p2p_libp2p:0.22.0 -u public_uri` to retrieve the address.) We will refer to this as **Alice_AEA's P2P address**. ### Faber_AEA In the fourth terminal, fetch **Faber_AEA** and move into its project folder: ``` bash -aea fetch fetchai/aries_faber:0.27.0 +aea fetch fetchai/aries_faber:0.28.0 cd aries_faber ``` @@ -275,8 +275,8 @@ The following steps create Faber_AEA from scratch: ``` bash aea create aries_faber cd aries_faber -aea add connection fetchai/p2p_libp2p:0.21.0 -aea add connection fetchai/soef:0.22.0 +aea add connection fetchai/p2p_libp2p:0.22.0 +aea add connection fetchai/soef:0.23.0 aea add connection fetchai/http_client:0.22.0 aea add connection fetchai/webhook:0.18.0 aea add skill fetchai/aries_faber:0.20.0 diff --git a/docs/car-park-skills.md b/docs/car-park-skills.md index 2432c5cb6f..ed0a9c9bf2 100644 --- a/docs/car-park-skills.md +++ b/docs/car-park-skills.md @@ -57,9 +57,9 @@ Install the AEA ManagerAgentLand block explorer and request some test tokens via `Get Funds`. @@ -78,7 +78,7 @@ The following steps assume you have launched the AEA Manager Desktop app. 6. Run the `car_data_buyer`. -In the AEA's logs should see the agent trading sucessfully. +In the AEA's logs should see the agent trading successfully.
# Option 2: CLI approach @@ -97,7 +97,7 @@ Follow the Preliminaries and =1.0.0"} }' -aea config set agent.default_connection fetchai/p2p_libp2p:0.21.0 +aea config set agent.default_connection fetchai/p2p_libp2p:0.22.0 aea config set --type dict agent.default_routing \ '{ "fetchai/ledger_api:1.0.0": "fetchai/ledger:0.18.0", - "fetchai/oef_search:1.0.0": "fetchai/soef:0.22.0" + "fetchai/oef_search:1.0.0": "fetchai/soef:0.23.0" }' aea install aea build @@ -135,7 +135,7 @@ aea build Then, fetch the car data client AEA: ``` bash -aea fetch fetchai/car_data_buyer:0.28.0 +aea fetch fetchai/car_data_buyer:0.29.0 cd car_data_buyer aea install aea build @@ -148,19 +148,19 @@ The following steps create the car data client from scratch: ``` bash aea create car_data_buyer cd car_data_buyer -aea add connection fetchai/p2p_libp2p:0.21.0 -aea add connection fetchai/soef:0.22.0 +aea add connection fetchai/p2p_libp2p:0.22.0 +aea add connection fetchai/soef:0.23.0 aea add connection fetchai/ledger:0.18.0 aea add skill fetchai/carpark_client:0.25.0 aea config set --type dict agent.dependencies \ '{ "aea-ledger-fetchai": {"version": "<2.0.0,>=1.0.0"} }' -aea config set agent.default_connection fetchai/p2p_libp2p:0.21.0 +aea config set agent.default_connection fetchai/p2p_libp2p:0.22.0 aea config set --type dict agent.default_routing \ '{ "fetchai/ledger_api:1.0.0": "fetchai/ledger:0.18.0", - "fetchai/oef_search:1.0.0": "fetchai/soef:0.22.0" + "fetchai/oef_search:1.0.0": "fetchai/soef:0.23.0" }' aea install aea build @@ -225,7 +225,7 @@ First, run the car data seller AEA: aea run ``` -Once you see a message of the form `To join its network use multiaddr 'SOME_ADDRESS'` take note of the address. (Alternatively, use `aea get-multiaddress fetchai -c -i fetchai/p2p_libp2p:0.21.0 -u public_uri` to retrieve the address.) +Once you see a message of the form `To join its network use multiaddr 'SOME_ADDRESS'` take note of the address. (Alternatively, use `aea get-multiaddress fetchai -c -i fetchai/p2p_libp2p:0.22.0 -u public_uri` to retrieve the address.) This is the entry peer address for the local agent communication network created by the car data seller. Then, in the car data buyer, run this command (replace `SOME_ADDRESS` with the correct value as described above): diff --git a/docs/cli-vs-programmatic-aeas.md b/docs/cli-vs-programmatic-aeas.md index ba778c1085..df7c8685cf 100644 --- a/docs/cli-vs-programmatic-aeas.md +++ b/docs/cli-vs-programmatic-aeas.md @@ -33,7 +33,7 @@ If you want to create the weather station AEA step by step you can follow this g Fetch the weather station AEA with the following command : ``` bash -aea fetch fetchai/weather_station:0.27.0 +aea fetch fetchai/weather_station:0.28.0 cd weather_station aea install aea build diff --git a/docs/config.md b/docs/config.md index cf0497c6cd..0caaca2295 100644 --- a/docs/config.md +++ b/docs/config.md @@ -27,7 +27,7 @@ protocols: # The list of protocol public id - fetchai/default:1.0.0 skills: # The list of skill public ids the AEA project depends on (each public id must satisfy PUBLIC_ID_REGEX). - fetchai/error:0.16.0 -default_connection: fetchai/p2p_libp2p:0.21.0 # The default connection used for envelopes sent by the AEA (must satisfy PUBLIC_ID_REGEX). +default_connection: fetchai/p2p_libp2p:0.22.0 # The default connection used for envelopes sent by the AEA (must satisfy PUBLIC_ID_REGEX). default_ledger: fetchai # The default ledger identifier the AEA project uses (must satisfy LEDGER_ID_REGEX) required_ledgers: [fetchai] # the list of identifiers of ledgers that the AEA project requires key pairs for (each item must satisfy LEDGER_ID_REGEX) default_routing: {} # The default routing scheme applied to envelopes sent by the AEA, it maps from protocol public ids to connection public ids (both keys and values must satisfy PUBLIC_ID_REGEX) diff --git a/docs/connect-a-frontend.md b/docs/connect-a-frontend.md index c502e9fea5..0ccebe43bd 100644 --- a/docs/connect-a-frontend.md +++ b/docs/connect-a-frontend.md @@ -6,4 +6,4 @@ This page lays out two options for connecting a front-end to an AEA. The followi The first option is to create a `HTTP Server` connection that handles incoming requests from a REST API. In this scenario, the REST API communicates with the AEA and requests are handled by the `HTTP Server` connection package. The REST API should send CRUD requests to the `HTTP Server` connection (`fetchai/http_server:0.21.0`) which translates these into Envelopes to be consumed by the correct skill. ## Case 2 -The second option is to create a front-end comprising a stand-alone `Multiplexer` with a `P2P` connection (`fetchai/p2p_libp2p:0.21.0`). In this scenario the Agent Communication Network can be used to send Envelopes from the AEA to the front-end. \ No newline at end of file +The second option is to create a front-end comprising a stand-alone `Multiplexer` with a `P2P` connection (`fetchai/p2p_libp2p:0.22.0`). In this scenario the Agent Communication Network can be used to send Envelopes from the AEA to the front-end. \ No newline at end of file diff --git a/docs/contract.md b/docs/contract.md index 8815b4fd65..37abf56d76 100644 --- a/docs/contract.md +++ b/docs/contract.md @@ -182,4 +182,4 @@ class MyContract(Contract): ``` Above, we implement a method to create a transaction, in this case a transaction to create a batch of tokens. The method will be called by the framework, specifically the `fetchai/ledger:0.18.0` connection once it receives a message (see bullet point 2 above). The method first gets the latest transaction nonce of the `deployer_address`, then constructs the contract instance, then uses the instance to build the transaction and finally updates the gas on the transaction. -It helps to look at existing contract packages, like `fetchai/erc1155:0.21.0`, and skills using them, like `fetchai/erc1155_client:0.11.0` and `fetchai/erc1155_deploy:0.27.0`, for inspiration and guidance. +It helps to look at existing contract packages, like `fetchai/erc1155:0.21.0`, and skills using them, like `fetchai/erc1155_client:0.11.0` and `fetchai/erc1155_deploy:0.28.0`, for inspiration and guidance. diff --git a/docs/erc1155-skills.md b/docs/erc1155-skills.md index c423850ff1..b1a4b840bb 100644 --- a/docs/erc1155-skills.md +++ b/docs/erc1155-skills.md @@ -25,7 +25,7 @@ The scope of this guide is demonstrating how you can deploy a smart contract and Fetch the AEA that will deploy the contract: ``` bash -aea fetch fetchai/erc1155_deployer:0.29.0 +aea fetch fetchai/erc1155_deployer:0.30.0 cd erc1155_deployer aea install aea build @@ -39,22 +39,22 @@ Create the AEA that will deploy the contract. ``` bash aea create erc1155_deployer cd erc1155_deployer -aea add connection fetchai/p2p_libp2p:0.21.0 -aea add connection fetchai/soef:0.22.0 +aea add connection fetchai/p2p_libp2p:0.22.0 +aea add connection fetchai/soef:0.23.0 aea add connection fetchai/ledger:0.18.0 -aea add skill fetchai/erc1155_deploy:0.27.0 +aea add skill fetchai/erc1155_deploy:0.28.0 aea config set --type dict agent.dependencies \ '{ "aea-ledger-fetchai": {"version": "<2.0.0,>=1.0.0"}, "aea-ledger-ethereum": {"version": "<2.0.0,>=1.0.0"}, "aea-ledger-cosmos": {"version": "<2.0.0,>=1.0.0"} }' -aea config set agent.default_connection fetchai/p2p_libp2p:0.21.0 +aea config set agent.default_connection fetchai/p2p_libp2p:0.22.0 aea config set --type dict agent.default_routing \ '{ "fetchai/contract_api:1.0.0": "fetchai/ledger:0.18.0", "fetchai/ledger_api:1.0.0": "fetchai/ledger:0.18.0", - "fetchai/oef_search:1.0.0": "fetchai/soef:0.22.0" + "fetchai/oef_search:1.0.0": "fetchai/soef:0.23.0" }' aea config set --type list vendor.fetchai.connections.p2p_libp2p.cert_requests \ '[{"identifier": "acn", "ledger_id": "ethereum", "not_after": "2022-01-01", "not_before": "2021-01-01", "public_key": "fetchai", "save_path": ".certs/conn_cert.txt"}]' @@ -95,7 +95,7 @@ aea issue-certificates In another terminal, fetch the client AEA which will receive some tokens from the deployer. ``` bash -aea fetch fetchai/erc1155_client:0.29.0 +aea fetch fetchai/erc1155_client:0.30.0 cd erc1155_client aea install aea build @@ -109,8 +109,8 @@ Create the AEA that will get some tokens from the deployer. ``` bash aea create erc1155_client cd erc1155_client -aea add connection fetchai/p2p_libp2p:0.21.0 -aea add connection fetchai/soef:0.22.0 +aea add connection fetchai/p2p_libp2p:0.22.0 +aea add connection fetchai/soef:0.23.0 aea add connection fetchai/ledger:0.18.0 aea add skill fetchai/erc1155_client:0.26.0 aea config set --type dict agent.dependencies \ @@ -119,12 +119,12 @@ aea config set --type dict agent.dependencies \ "aea-ledger-ethereum": {"version": "<2.0.0,>=1.0.0"}, "aea-ledger-cosmos": {"version": "<2.0.0,>=1.0.0"} }' -aea config set agent.default_connection fetchai/p2p_libp2p:0.21.0 +aea config set agent.default_connection fetchai/p2p_libp2p:0.22.0 aea config set --type dict agent.default_routing \ '{ "fetchai/contract_api:1.0.0": "fetchai/ledger:0.18.0", "fetchai/ledger_api:1.0.0": "fetchai/ledger:0.18.0", - "fetchai/oef_search:1.0.0": "fetchai/soef:0.22.0" + "fetchai/oef_search:1.0.0": "fetchai/soef:0.23.0" }' aea config set --type list vendor.fetchai.connections.p2p_libp2p.cert_requests \ '[{"identifier": "acn", "ledger_id": "ethereum", "not_after": "2022-01-01", "not_before": "2021-01-01", "public_key": "fetchai", "save_path": ".certs/conn_cert.txt"}]' @@ -199,7 +199,7 @@ aea run Once you see a message of the form `To join its network use multiaddr 'SOME_ADDRESS'` take note of this address. -Alternatively, use `aea get-multiaddress fetchai -c -i fetchai/p2p_libp2p:0.21.0 -u public_uri` to retrieve the address. The output will be something like `/dns4/127.0.0.1/tcp/9000/p2p/16Uiu2HAm2JPsUX1Su59YVDXJQizYkNSe8JCusqRpLeeTbvY76fE5`. +Alternatively, use `aea get-multiaddress fetchai -c -i fetchai/p2p_libp2p:0.22.0 -u public_uri` to retrieve the address. The output will be something like `/dns4/127.0.0.1/tcp/9000/p2p/16Uiu2HAm2JPsUX1Su59YVDXJQizYkNSe8JCusqRpLeeTbvY76fE5`. This is the entry peer address for the local agent communication network created by the deployer. diff --git a/docs/generic-skills-step-by-step.md b/docs/generic-skills-step-by-step.md index 9dd9d17ec0..6f29619ee2 100644 --- a/docs/generic-skills-step-by-step.md +++ b/docs/generic-skills-step-by-step.md @@ -11,14 +11,14 @@ Follow the Preliminaries and Preliminaries and =1.0.0"} }' -aea config set agent.default_connection fetchai/p2p_libp2p:0.21.0 +aea config set agent.default_connection fetchai/p2p_libp2p:0.22.0 aea config set --type dict agent.default_routing \ '{ "fetchai/ledger_api:1.0.0": "fetchai/ledger:0.18.0", - "fetchai/oef_search:1.0.0": "fetchai/soef:0.22.0" + "fetchai/oef_search:1.0.0": "fetchai/soef:0.23.0" }' aea install aea build @@ -96,7 +96,7 @@ aea build Then, in another terminal fetch the buyer AEA: ``` bash -aea fetch fetchai/generic_buyer:0.25.0 --alias my_buyer_aea +aea fetch fetchai/generic_buyer:0.26.0 --alias my_buyer_aea cd my_buyer_aea aea install aea build @@ -109,19 +109,19 @@ The following steps create the buyer from scratch: ``` bash aea create my_buyer_aea cd my_buyer_aea -aea add connection fetchai/p2p_libp2p:0.21.0 -aea add connection fetchai/soef:0.22.0 +aea add connection fetchai/p2p_libp2p:0.22.0 +aea add connection fetchai/soef:0.23.0 aea add connection fetchai/ledger:0.18.0 aea add skill fetchai/generic_buyer:0.25.0 aea config set --type dict agent.dependencies \ '{ "aea-ledger-fetchai": {"version": "<2.0.0,>=1.0.0"} }' -aea config set agent.default_connection fetchai/p2p_libp2p:0.21.0 +aea config set agent.default_connection fetchai/p2p_libp2p:0.22.0 aea config set --type dict agent.default_routing \ '{ "fetchai/ledger_api:1.0.0": "fetchai/ledger:0.18.0", - "fetchai/oef_search:1.0.0": "fetchai/soef:0.22.0" + "fetchai/oef_search:1.0.0": "fetchai/soef:0.23.0" }' aea install aea build @@ -252,7 +252,7 @@ First, run the seller AEA: aea run ``` -Once you see a message of the form `To join its network use multiaddr 'SOME_ADDRESS'` take note of this address. (Alternatively, use `aea get-multiaddress fetchai -c -i fetchai/p2p_libp2p:0.21.0 -u public_uri` to retrieve the address.) +Once you see a message of the form `To join its network use multiaddr 'SOME_ADDRESS'` take note of this address. (Alternatively, use `aea get-multiaddress fetchai -c -i fetchai/p2p_libp2p:0.22.0 -u public_uri` to retrieve the address.) This is the entry peer address for the local agent communication network created by the seller. Then, configure the buyer to connect to this same local ACN by running the following command in the buyer terminal, replacing `SOME_ADDRESS` with the value you noted above: diff --git a/docs/http-connection-and-skill.md b/docs/http-connection-and-skill.md index d89069cbcc..7fc85cb54f 100644 --- a/docs/http-connection-and-skill.md +++ b/docs/http-connection-and-skill.md @@ -8,7 +8,7 @@ The HTTP server connection allows you to run a server inside the connection itse ## HTTP Client -The `fetchai/simple_data_request:0.11.0` skill demonstrates a simple use case of the HTTP Client connection. +The `fetchai/simple_data_request:0.12.0` skill demonstrates a simple use case of the HTTP Client connection. The `HttpRequestBehaviour` in `behaviours.py` periodically sends HTTP envelops to the HTTP client connection. Its `act()` method, periodically called, simply calls `_generate_http_request` which contains the logic for enqueueing an HTTP request envelop. diff --git a/docs/ml-skills.md b/docs/ml-skills.md index c9cc320c5b..f460619035 100644 --- a/docs/ml-skills.md +++ b/docs/ml-skills.md @@ -62,7 +62,7 @@ Follow the Preliminaries and =1.0.0"} }' -aea config set agent.default_connection fetchai/p2p_libp2p:0.21.0 +aea config set agent.default_connection fetchai/p2p_libp2p:0.22.0 aea config set --type dict agent.default_routing \ '{ "fetchai/ledger_api:1.0.0": "fetchai/ledger:0.18.0", - "fetchai/oef_search:1.0.0": "fetchai/soef:0.22.0" + "fetchai/oef_search:1.0.0": "fetchai/soef:0.23.0" }' aea install aea build @@ -100,7 +100,7 @@ aea build Then, fetch the model trainer AEA: ``` bash -aea fetch fetchai/ml_model_trainer:0.28.0 +aea fetch fetchai/ml_model_trainer:0.29.0 cd ml_model_trainer aea install aea build @@ -113,19 +113,19 @@ The following steps create the model trainer from scratch: ``` bash aea create ml_model_trainer cd ml_model_trainer -aea add connection fetchai/p2p_libp2p:0.21.0 -aea add connection fetchai/soef:0.22.0 +aea add connection fetchai/p2p_libp2p:0.22.0 +aea add connection fetchai/soef:0.23.0 aea add connection fetchai/ledger:0.18.0 aea add skill fetchai/ml_train:0.26.0 aea config set --type dict agent.dependencies \ '{ "aea-ledger-fetchai": {"version": "<2.0.0,>=1.0.0"} }' -aea config set agent.default_connection fetchai/p2p_libp2p:0.21.0 +aea config set agent.default_connection fetchai/p2p_libp2p:0.22.0 aea config set --type dict agent.default_routing \ '{ "fetchai/ledger_api:1.0.0": "fetchai/ledger:0.18.0", - "fetchai/oef_search:1.0.0": "fetchai/soef:0.22.0" + "fetchai/oef_search:1.0.0": "fetchai/soef:0.23.0" }' aea install aea build @@ -190,7 +190,7 @@ First, run the data provider AEA: aea run ``` -Once you see a message of the form `To join its network use multiaddr 'SOME_ADDRESS'` take note of the address. (Alternatively, use `aea get-multiaddress fetchai -c -i fetchai/p2p_libp2p:0.21.0 -u public_uri` to retrieve the address.) +Once you see a message of the form `To join its network use multiaddr 'SOME_ADDRESS'` take note of the address. (Alternatively, use `aea get-multiaddress fetchai -c -i fetchai/p2p_libp2p:0.22.0 -u public_uri` to retrieve the address.) This is the entry peer address for the local agent communication network created by the ML data provider.