Skip to content

Commit d6287d1

Browse files
authored
Mention local run in readme
1 parent 8932b6d commit d6287d1

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,12 +146,19 @@ python run.py --model_name gpt4 \
146146
--config_file config/default_from_url.yaml
147147
```
148148

149-
> [!TIP]
150-
> You can have the agent automatically open a PR if the issue has been solved by supplying the `--open_pr`
151-
> flag. Please use this feature responsibly (on your own repositories or after careful consideration).
149+
You can also apply to it to a local repository:
150+
```bash
151+
python run.py --model_name gpt4 \
152+
--data_path /path/to/my_issue.md \
153+
--repo_path /path/to/my/local/repo \
154+
--config_file config/default_from_url.yaml \
155+
--apply_patch_locally
156+
```
152157

153158
> [!TIP]
154-
> Run `python run.py --help` to see all available options.
159+
> * Run `python run.py --help` to see all available options.
160+
> * You can have the agent automatically open a PR if the issue has been solved by supplying the `--open_pr`
161+
> flag. Please use this feature responsibly (on your own repositories or after careful consideration).
155162
156163
* See the [`scripts/`](scripts/) folder for other useful scripts and details.
157164
* See the [`config/`](config/) folder for details about how you can define your own configuration!

0 commit comments

Comments
 (0)