Files
OpenHands/docs/modules/python/opendevin/events/action/files.md
Robert Brennan ce7c7eaae4 Refactor actions and observations (#1479)
* refactor actions and events

* remove type_key

* remove stream

* move import

* move import

* fix NullObs

* reorder imports

* fix lint

* fix dataclasses

* remove blank fields

* fix nullobs

* fix sidebar labels

* fix test compilation

* switch to asdict

* lint

* fix whitespace

* fix executable

* delint

* fix run

* remove NotImplementeds

* fix path prefix

* remove null files

* add debug

* add more debug info

* fix dataclass on null

* remove debug

* revert sandbox

* fix merge issues

* fix tyeps

* Update opendevin/events/action/browse.py
2024-05-02 15:44:54 +00:00

268 B

sidebar_label, title
sidebar_label title
files opendevin.events.action.files

FileReadAction Objects

@dataclass
class FileReadAction(Action)

Reads a file from a given path. Can be set to read specific lines using start and end Default lines 0:-1 (whole file)