mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
16 lines
315 B
Python
16 lines
315 B
Python
from dataclasses import dataclass
|
|
|
|
from openhands.core.schema import ActionType
|
|
from openhands.events.action.action import Action
|
|
|
|
|
|
@dataclass
|
|
class NullAction(Action):
|
|
"""An action that does nothing."""
|
|
|
|
action: str = ActionType.NULL
|
|
|
|
@property
|
|
def message(self) -> str:
|
|
return 'No action'
|