Skip to main content

PluginLifecycleInput

Defined in the events module.
AI Agent Input for ON_INIT / ON_SHUTDOWN hooks (plugin lifecycle). Emitted by :meth:PluginManager.register (ON_INIT, right after the plugin runs its own on_init) and :meth:PluginManager.unregister (ON_SHUTDOWN, right after its on_shutdown). Lets an observability plugin see the plugin set change at runtime instead of polling list_plugins().

Properties

str
No description available.
str
No description available.
str
No description available.
  • to_dict: Generic utility method.

Source

View on GitHub

praisonaiagents/hooks/events.py at line 554

Plugins Feature