MCPcopy Create free account
hub / github.com/ValueCell-ai/valuecell / close

Method close

python/valuecell/core/agent/client.py:132–138  ·  view source on GitHub ↗

Close the HTTP client and clean up resources.

(self)

Source from the content-addressed store, hash-verified

130 return await card_resolver.get_agent_card()
131
132 async def close(self):
133 """Close the HTTP client and clean up resources."""
134 if self._httpx_client:
135 await self._httpx_client.aclose()
136 self._httpx_client = None
137 self._client = None
138 self._initialized = False

Calls 1

acloseMethod · 0.80