Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
0xArdi committed Jul 19, 2024
1 parent 04a0448 commit 1aac776
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
6 changes: 3 additions & 3 deletions packages/packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@
"skill/valory/contract_subscription/0.1.0": "bafybeiefuemlp75obgpxrp6iuleb3hn6vcviwh5oetk5djbuprf4xsmgjy",
"skill/valory/mech_abci/0.1.0": "bafybeicvbtbmtdps7lsbsutojiic4sam3jmi3prev5u22tps6pxy4du7nq",
"skill/valory/task_submission_abci/0.1.0": "bafybeihvvp6ovstb7po7kx6o7dno6kvjmffnmlerfw6qxhhzyrxmktd67e",
"skill/valory/task_execution/0.1.0": "bafybeibgmnchmqic6ooj544pkdjh7nhsx54jngwt6mmdgotmlccgxm7sgu",
"skill/valory/task_execution/0.1.0": "bafybeia6knadhxkquc3g3eg75jjxipbwn5slgk77y7teauv4q54uxnthly",
"skill/valory/websocket_client/0.1.0": "bafybeif7rrvsu6z4evqkhblxj3u6wwv2eqou576hgkyoehxuj7cntw7o2m",
"skill/valory/subscription_abci/0.1.0": "bafybeihtortmv4fqua5wrnshpnvqsbpaf52frwynrmpuv2uw5j7wkauhze",
"agent/valory/mech/0.1.0": "bafybeibshpt3bmlxykfm6w3wtuua7afzus7xubkwlolbyrgt4kwavb6mga",
"service/valory/mech/0.1.0": "bafybeid3oks2w5d7tmq2c5z4ai6vezqrqwht5f3gh2hrllzoglwyqa5oku"
"agent/valory/mech/0.1.0": "bafybeig3e3acg3p4mhj37afk2xepzlx3mfsmbirpes4t3m6jdmep7c22ym",
"service/valory/mech/0.1.0": "bafybeick7kaistdt7mpteeeynnqdkppbua75gj7clsa3fpcqlrrz42kcdu"
},
"third_party": {
"protocol/valory/default/1.0.0": "bafybeifqcqy5hfbnd7fjv4mqdjrtujh2vx3p2xhe33y67zoxa6ph7wdpaq",
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/agents/mech/aea-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ skills:
- valory/registration_abci:0.1.0:bafybeiek7zcsxbucjwzgqfftafhfrocvc7q4yxllh2q44jeemsjxg3rcfm
- valory/reset_pause_abci:0.1.0:bafybeidw4mbx3os3hmv7ley7b3g3gja7ydpitr7mxbjpwzxin2mzyt5yam
- valory/subscription_abci:0.1.0:bafybeihtortmv4fqua5wrnshpnvqsbpaf52frwynrmpuv2uw5j7wkauhze
- valory/task_execution:0.1.0:bafybeibgmnchmqic6ooj544pkdjh7nhsx54jngwt6mmdgotmlccgxm7sgu
- valory/task_execution:0.1.0:bafybeia6knadhxkquc3g3eg75jjxipbwn5slgk77y7teauv4q54uxnthly
- valory/task_submission_abci:0.1.0:bafybeihvvp6ovstb7po7kx6o7dno6kvjmffnmlerfw6qxhhzyrxmktd67e
- valory/termination_abci:0.1.0:bafybeihq6qtbwt6i53ayqym63vhjexkcppy26gguzhhjqywfmiuqghvv44
- valory/transaction_settlement_abci:0.1.0:bafybeigtzlk4uakmd54rxnznorcrstsr52kta474lgrnvx5ovr546vj7sq
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/services/mech/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license: Apache-2.0
fingerprint:
README.md: bafybeif7ia4jdlazy6745ke2k2x5yoqlwsgwr6sbztbgqtwvs3ndm2p7ba
fingerprint_ignore_patterns: []
agent: valory/mech:0.1.0:bafybeibshpt3bmlxykfm6w3wtuua7afzus7xubkwlolbyrgt4kwavb6mga
agent: valory/mech:0.1.0:bafybeig3e3acg3p4mhj37afk2xepzlx3mfsmbirpes4t3m6jdmep7c22ym
number_of_agents: 4
deployment:
agent:
Expand Down
5 changes: 3 additions & 2 deletions packages/valory/skills/task_execution/behaviours.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,9 @@ def _prepare_task(self, task_data: Dict[str, Any]) -> None:
task_data["callable_method"] = callable_method
task_data["api_keys"] = self._keychain
task_data["counter_callback"] = TokenCounterCallback()
task_data["model"] = task_data.get("model", tool_params.get("default_model", None))
task_data["model"] = task_data.get(
"model", tool_params.get("default_model", None)
)
future = self._submit_task(tool_task.execute, **task_data)
executing_task = cast(Dict[str, Any], self._executing_task)
executing_task["timeout_deadline"] = time.time() + self.params.task_deadline
Expand All @@ -425,7 +427,6 @@ def _prepare_task(self, task_data: Dict[str, Any]) -> None:
executing_task["params"] = tool_params
self._async_result = cast(Optional[Future], future)


def _build_ipfs_message(
self,
performative: IpfsMessage.Performative,
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/skills/task_execution/skill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license: Apache-2.0
aea_version: '>=1.0.0, <2.0.0'
fingerprint:
__init__.py: bafybeidqhvvlnthkbnmrdkdeyjyx2f2ab6z4xdgmagh7welqnh2v6wczx4
behaviours.py: bafybeiappq5miom22jq4ncp6pbh6nxs4ia7mdigzzgfoaxlv7p723itm54
behaviours.py: bafybeic6srotpryrn3s2kzxzvq6vrstpw6bh3qbqcvgv5dryihsffcio4u
dialogues.py: bafybeid4zxalqdlo5mw4yfbuf34hx4jp5ay5z6chm4zviwu4cj7fudtwca
handlers.py: bafybeidbt5ezj74cgfogk3w4uw4si2grlnk5g54veyumw7g5yh6gdscywu
models.py: bafybeid6befxrrbiaw7nduz4zgbm5nfc246fn2eb6rfmja6v5hmq4wtcwe
Expand Down

0 comments on commit 1aac776

Please sign in to comment.