mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
22 lines
819 B
Python
22 lines
819 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
|
|
from .github_v1_callback_processor import GithubV1CallbackProcessor
|
|
|
|
# Note: SetTitleCallbackProcessor is not imported here to avoid circular imports
|
|
# It will be registered when imported elsewhere in the application
|
|
|
|
__all__ = [
|
|
'EventCallbackProcessor',
|
|
'LoggingCallbackProcessor',
|
|
'GithubV1CallbackProcessor',
|
|
]
|