mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +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>
58 lines
549 B
Markdown
58 lines
549 B
Markdown
---
|
|
sidebar_label: task
|
|
title: opendevin.schema.task
|
|
---
|
|
|
|
## TaskState Objects
|
|
|
|
```python
|
|
class TaskState(str, Enum)
|
|
```
|
|
|
|
#### INIT
|
|
|
|
Initial state of the task.
|
|
|
|
#### RUNNING
|
|
|
|
The task is running.
|
|
|
|
#### PAUSED
|
|
|
|
The task is paused.
|
|
|
|
#### STOPPED
|
|
|
|
The task is stopped.
|
|
|
|
#### FINISHED
|
|
|
|
The task is finished.
|
|
|
|
#### ERROR
|
|
|
|
An error occurred during the task.
|
|
|
|
## TaskStateAction Objects
|
|
|
|
```python
|
|
class TaskStateAction(str, Enum)
|
|
```
|
|
|
|
#### START
|
|
|
|
Starts the task.
|
|
|
|
#### PAUSE
|
|
|
|
Pauses the task.
|
|
|
|
#### RESUME
|
|
|
|
Resumes the task.
|
|
|
|
#### STOP
|
|
|
|
Stops the task.
|
|
|