Skip to content

Commit c4883ea

Browse files
committed
Merge branch 'main' into agent
2 parents edaca4e + 4d20a3e commit c4883ea

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

docs/agent.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ In this example we use [Aider](https://aider.chat/) as the
66
baseline code completion agent
77

88
```bash
9-
pip install aider
9+
pip install aider-chat
1010
```
1111

1212
First we assume there is an underlying `commit0`
@@ -27,10 +27,11 @@ agent config aider
2727
```
2828

2929
Finally we run the underlying agent. This will create a display
30-
that shows the current progress of the agent.
30+
that shows the current progress of the agent. Specify the branch
31+
you want to commit changes on.
3132

3233
```bash
33-
agent run
34+
agent run BRANCH
3435
```
3536

3637

@@ -41,6 +42,6 @@ Refer to `class Agents` in `agent/agents.py`. You can design your own agent by i
4142

4243

4344
* Aider automatically retries certain API errors. For details, see [here](https://github.com/paul-gauthier/aider/blob/75e1d519da9b328b0eca8a73ee27278f1289eadb/aider/sendchat.py#L17).
44-
* When increasing --max-parallel-repos, be mindful of aider's [60-second retry timeout](https://github.com/paul-gauthier/aider/blob/75e1d519da9b328b0eca8a73ee27278f1289eadb/aider/sendchat.py#L39). Set this value according to your API tier to avoid RateLimitErrors stopping processes.
45+
* When increasing `--max-parallel-repos`, be mindful of aider's [60-second retry timeout](https://github.com/paul-gauthier/aider/blob/75e1d519da9b328b0eca8a73ee27278f1289eadb/aider/sendchat.py#L39). Set this value according to your API tier to avoid RateLimitErrors stopping processes.
4546
* Currently, agent will skip file with more than 1500 lines. See `agent/agent_utils.py#L199` for details.
4647
* Running a full `all` commit0 split costs approximately $100 with Claude Sonnet 3.5.

docs/api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ Available options include:
128128

129129
| Argument | Type | Description | Default |
130130
|----------|------|-------------|---------|
131-
| `branch` | str | Branch to run the agent on, you can specific the name of the branch | |
131+
| `branch` | str | Branch for the agent to commit changes | |
132132
| `--backend` | str | Test backend to run the agent on, ignore this option if you are not adding `run_tests` option to agent. | `modal` |
133133
| `--log-dir` | str | Log directory to store the logs. | `logs/aider` |
134134
| `--max-parallel-repos` | int | Maximum number of repositories for agent to run in parallel. Running in sequential if set to 1. | `1` |

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "commit0"
7-
version = "0.1.5"
7+
version = "0.1.0"
88
description = "A development and evaluation framework for using language models to generate libraries."
99
readme = "README.md"
1010
requires-python = ">=3.10"

0 commit comments

Comments
 (0)