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>
77 lines
979 B
Markdown
77 lines
979 B
Markdown
---
|
|
sidebar_label: action
|
|
title: opendevin.schema.action
|
|
---
|
|
|
|
## ActionTypeSchema Objects
|
|
|
|
```python
|
|
class ActionTypeSchema(BaseModel)
|
|
```
|
|
|
|
#### INIT
|
|
|
|
Initializes the agent. Only sent by client.
|
|
|
|
#### START
|
|
|
|
Starts a new development task. Only sent by the client.
|
|
|
|
#### READ
|
|
|
|
Reads the content of a file.
|
|
|
|
#### WRITE
|
|
|
|
Writes the content to a file.
|
|
|
|
#### RUN
|
|
|
|
Runs a command.
|
|
|
|
#### KILL
|
|
|
|
Kills a background command.
|
|
|
|
#### BROWSE
|
|
|
|
Opens a web page.
|
|
|
|
#### RECALL
|
|
|
|
Searches long-term memory
|
|
|
|
#### THINK
|
|
|
|
Allows the agent to make a plan, set a goal, or record thoughts
|
|
|
|
#### DELEGATE
|
|
|
|
Delegates a task to another agent.
|
|
|
|
#### FINISH
|
|
|
|
If you're absolutely certain that you've completed your task and have tested your work,
|
|
use the finish action to stop working.
|
|
|
|
#### PAUSE
|
|
|
|
Pauses the task.
|
|
|
|
#### RESUME
|
|
|
|
Resumes the task.
|
|
|
|
#### STOP
|
|
|
|
Stops the task. Must send a start action to restart a new task.
|
|
|
|
#### PUSH
|
|
|
|
Push a branch to github.
|
|
|
|
#### SEND\_PR
|
|
|
|
Send a PR to github.
|
|
|