Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
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