mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 13:52:43 +08:00
16 lines
341 B
Python
16 lines
341 B
Python
from dataclasses import dataclass
|
|
|
|
from openhands.events.event import Event
|
|
|
|
|
|
@dataclass
|
|
class Observation(Event):
|
|
"""Base class for observations from the environment.
|
|
|
|
Attributes:
|
|
content: The content of the observation. For large observations,
|
|
this might be truncated when stored.
|
|
"""
|
|
|
|
content: str
|