mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-25 21:36:52 +08:00
* docs(docs): start implementing docs website * update video url * add autogenerated codebase docs for backend * precommit * update links * fix config and video * gh actions * rename * workdirs * path * path * fix doc1 * redo markdown * docs * change main folder name * simplify readme * add back architecture * Fix lint errors * lint * update poetry lock --------- Co-authored-by: Jim Su <jimsu@protonmail.com>
713 B
713 B
sidebar_label, title
| sidebar_label | title |
|---|---|
| base | opendevin.observation.base |
Observation Objects
@dataclass
class Observation()
This data class represents an observation of the environment.
to_dict
def to_dict() -> dict
Converts the observation to a dictionary and adds user message.
to_memory
def to_memory() -> dict
Converts the observation to a dictionary.
message
@property
def message() -> str
Returns a message describing the observation.
NullObservation Objects
@dataclass
class NullObservation(Observation)
This data class represents a null observation. This is used when the produced action is NOT executable.