Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.0.4 #2

Merged
merged 6 commits into from
May 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading