File size: 330 Bytes
246d201 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
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'
|