| 1 | # DefaultAgent
|
| 2 |
|
| 3 | !!! note "DefaultAgent class"
|
| 4 |
|
| 5 | - [Read on GitHub](https://github.com/swe-agent/mini-swe-agent/blob/main/src/minisweagent/agents/default.py)
|
| 6 |
|
| 7 | ??? note "Full source code"
|
| 8 |
|
| 9 | ```python
|
| 10 | --8<-- "src/minisweagent/agents/default.py"
|
| 11 | ```
|
| 12 |
|
| 13 | !!! tip "Understanding the control flow"
|
| 14 |
|
| 15 | Check out the [control flow guide](../../advanced/control_flow.md) for a visual explanation of the agent's control flow.
|
| 16 |
|
| 17 | ::: minisweagent.agents.default.AgentConfig
|
| 18 |
|
| 19 | ::: minisweagent.agents.default.DefaultAgent
|
| 20 |
|
| 21 | ::: minisweagent.exceptions.InterruptAgentFlow
|
| 22 |
|
| 23 | ::: minisweagent.exceptions.Submitted
|
| 24 |
|
| 25 | ::: minisweagent.exceptions.LimitsExceeded
|
| 26 |
|
| 27 | ::: minisweagent.exceptions.FormatError
|
| 28 |
|
| 29 | ::: minisweagent.exceptions.UserInterruption
|
| 30 |
|
| 31 | {% include-markdown "../../_footer.md" %}
|