Skip to content

Commit

Permalink
Merge pull request #2 from rubensflinco/dev
Browse files Browse the repository at this point in the history
1.0.4
  • Loading branch information
rubensflinco authored May 12, 2024
2 parents 08bdb08 + 48bc15a commit 5927e1f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ai-code-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,5 @@ jobs:
${{ steps.get_diff.outputs.pull_request_diff }}
pull_request_chunk_size: "3500"
extra_prompt: |-
You are very familiar with python too. Answer in Brazilian Portuguese!
Sempre responda em português brasileiro!
log_level: "DEBUG"
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
git diff "origin/${{ env.PULL_REQUEST_HEAD_REF }}" > "diff.txt"
# shellcheck disable=SC2086
echo "diff=$(cat "diff.txt")" >> $GITHUB_ENV
- uses: rubensflinco/[email protected].3
- uses: rubensflinco/[email protected].4
name: "Code Review by Gemini AI"
id: review
with:
Expand All @@ -75,6 +75,6 @@ jobs:
${{ steps.get_diff.outputs.pull_request_diff }}
pull_request_chunk_size: "3500"
extra_prompt: |-
You are very familiar with python too. Answer in Brazilian Portuguese!
Sempre responda em português brasileiro!
log_level: "DEBUG"
```
1 change: 1 addition & 0 deletions entrypoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ def get_review(
chunked_reviews_JOIN = str("\n".join(chunked_reviews))
prompt = str(f"""
{summarize_prompt}
{extra_prompt}
```{str(chunked_reviews_JOIN)}```""")

Expand Down

0 comments on commit 5927e1f

Please sign in to comment.