Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "virtuals-acp"
version = "0.3.21"
version = "0.3.22"
description = "Agent Commerce Protocol Python SDK by Virtuals"
authors = ["Steven Lee Soon Fatt <steven@virtuals.io>"]
readme = "README.md"
Expand Down
1 change: 1 addition & 0 deletions virtuals_acp/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,7 @@ def _hydrate_agent(self, agent_data: Dict[str, Any]) -> IACPAgent:
wallet_address=Web3.to_checksum_address(agent_data["walletAddress"]),
job_offerings=job_offerings,
resources=resources,
cluster=agent_data.get("cluster"),
twitter_handle=agent_data.get("twitterHandle"),
metrics=agent_data.get("metrics"),
contract_address=contract_address,
Expand Down
1 change: 1 addition & 0 deletions virtuals_acp/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ class IACPAgent:
job_offerings: List["ACPJobOffering"] = field(default_factory=list)

resources: List["ACPResourceOffering"] = field(default_factory=list)
cluster: Optional[str] = None
twitter_handle: Optional[str] = None
metrics: Optional[Dict[str, Any]] = None

Expand Down