Plugin Lifecycle Input • AI Agent SDK
PluginLifecycleInput: Input for ON_INIT / ON_SHUTDOWN hooks (plugin lifecycle).
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
ResponseField
strNo description available.
ResponseField
strNo description available.
ResponseField
strNo description available.
Internal & Generic Methods
- to_dict: Generic utility method.
Source
View on GitHubpraisonaiagents/hooks/events.py at line 590