Skip to main content

openhands.events.event

FileEditSource Objects

class FileEditSource(str, Enum)

OH_ACI

openhands-aci

FileReadSource Objects

class FileReadSource(str, Enum)

OH_ACI

openhands-aci

Event Objects

@dataclass
class Event()

set_hard_timeout

def set_hard_timeout(value: int | None, blocking: bool = True) -> None

Set the timeout for the event.

NOTE, this is a hard timeout, meaning that the event will be blocked until the timeout is reached.