Skip to content

Commit

Permalink
fix paths in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
rbx committed Oct 14, 2024
1 parent 0d15b59 commit f35af12
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ ollama pull llama3.1

2. Run the Pearbot server:
```
python pearbot.py --server
python src/pearbot.py --server
```

3. The server will now listen for GitHub webhook events and automatically review Pull Requests when it encounters `@pearbot review` in a comment.
Expand All @@ -65,16 +65,16 @@ ollama pull llama3.1
To analyze a local diff file:

```
python pearbot.py --diff path/to/your/diff/file
python src/pearbot.py --diff path/to/your/diff/file
```

Or pipe a diff directly:

```
git diff | python pearbot.py
git diff | python src/pearbot.py
```

You can generate diffs that include commit messages, e.g.:
```
git format-patch HEAD~3..HEAD --stdout | python pearbot.py
git format-patch HEAD~3..HEAD --stdout | python src/pearbot.py
```

0 comments on commit f35af12

Please sign in to comment.