Feat: add lint frontend and lint all to Makefile. (#1354)

* Feat: add lint frontend and lint all to Makefile.

* style codes.

* Remove redundant target.

---------

Co-authored-by: Jim Su <jimsu@protonmail.com>
Co-authored-by: Robert Brennan <accounts@rbren.io>
This commit is contained in:
Leo
2024-05-02 19:53:57 +08:00
committed by GitHub
parent 836864fa88
commit 95e4ca490f
6 changed files with 86 additions and 31 deletions

View File

@@ -9,6 +9,26 @@ title: opendevin.controller.agent_controller
class AgentController()
```
#### \_\_init\_\_
```python
def __init__(agent: Agent,
sid: str = 'default',
max_iterations: int = MAX_ITERATIONS,
max_chars: int = MAX_CHARS,
callbacks: List[Callable] = [])
```
Initializes a new instance of the AgentController class.
**Arguments**:
- `agent` - The agent instance to control.
- `sid` - The session ID of the agent.
- `max_iterations` - The maximum number of iterations the agent can run.
- `max_chars` - The maximum number of characters the agent can output.
- `callbacks` - A list of callback functions to run after each action.
#### setup\_task
```python