aclose • AI Agent SDK

aclose: Async version of close() for async context managers.

aclose

Async

Method

</div>

This is a method of the Agent class in the agent module.

Async version of close() for async context managers.

Signature

python
async def aclose() -> None

Uses

  • aclose
  • close_connections
  • asyncio.iscoroutinefunction
  • callable
  • close
  • openai_client.close
  • llm_client.close
  • logger.warning
  • t.aclose
  • t.shutdown

Used By

Source

View on GitHub

praisonaiagents/agent/agent.py at line 8244