mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-03-22 13:47:19 +08:00
20 lines
718 B
Python
20 lines
718 B
Python
"""Event callback system for OpenHands.
|
|
|
|
This module provides the event callback system that allows processors to be
|
|
registered and executed when specific events occur during conversations.
|
|
|
|
All callback processors must be imported here to ensure they are registered
|
|
with the discriminated union system used by Pydantic for validation.
|
|
"""
|
|
|
|
# Import base classes and processors without circular dependencies
|
|
from .event_callback_models import EventCallbackProcessor, LoggingCallbackProcessor
|
|
|
|
# Note: SetTitleCallbackProcessor is not imported here to avoid circular imports
|
|
# It will be registered when imported elsewhere in the application
|
|
|
|
__all__ = [
|
|
'EventCallbackProcessor',
|
|
'LoggingCallbackProcessor',
|
|
]
|