ar08's picture
Upload 1040 files
246d201 verified
raw
history blame contribute delete
417 Bytes
from dataclasses import dataclass
from openhands.core.schema import ObservationType
from openhands.events.observation.observation import Observation
@dataclass
class UserRejectObservation(Observation):
"""This data class represents the result of a rejected action."""
observation: str = ObservationType.USER_REJECTED
@property
def message(self) -> str:
return self.content