Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .openhands/microagents/repo.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ This project contains my tasks of completely refactor [OpenHands](https://github
- read [openhands/core/runtime/tools/str_replace_editor/impl.py](openhands/core/runtime/tools/str_replace_editor/impl.py) for tool execute_fn
- read [openhands/core/runtime/tools/str_replace_editor/definition.py](openhands/core/runtime/tools/str_replace_editor/definition.py) for how do we define a tool
- read [openhands/core/runtime/tools/str_replace_editor/__init__.py](openhands/core/runtime/tools/str_replace_editor/__init__.py) for how we define each tool module
- Check how we perform tests in .github/workflows/tests.yml
- ...
</TASK>

Expand Down
5 changes: 5 additions & 0 deletions openhands/core/runtime/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,8 @@ class ObservationBase(Schema):
"""Base schema for output observation."""

model_config = ConfigDict(extra="allow")

@property
def agent_observation(self) -> str:
"""Get the observation string to show to the agent."""
raise NotImplementedError("Subclasses must implement agent_observation")
Loading