Skip to main content

close

Method
This is a method of the AgentTeam class in the agents module.
Close all agent resources and cleanup connections. This method ensures proper cleanup of:
  • Agent resources (connections, file handles)
  • Shared memory connections (SQLite, ChromaDB, MongoDB)
  • Context manager resources

Signature

Uses

  • get_logger
  • callable
  • agent.close
  • logger.debug
  • logger.warning
  • close

Used By

Source

View on GitHub

praisonaiagents/agents/agents.py at line 3125