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>
30 lines
414 B
Markdown
30 lines
414 B
Markdown
---
|
|
sidebar_label: main
|
|
title: opendevin.main
|
|
---
|
|
|
|
#### read\_task\_from\_file
|
|
|
|
```python
|
|
def read_task_from_file(file_path: str) -> str
|
|
```
|
|
|
|
Read task from the specified file.
|
|
|
|
#### read\_task\_from\_stdin
|
|
|
|
```python
|
|
def read_task_from_stdin() -> str
|
|
```
|
|
|
|
Read task from stdin.
|
|
|
|
#### main
|
|
|
|
```python
|
|
async def main(task_str: str = '')
|
|
```
|
|
|
|
Main coroutine to run the agent controller with task input flexibility.
|
|
|