Skip to content

Commit

Permalink
Update test-action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
luiyen authored Dec 23, 2023
1 parent 8b339ee commit e59fe7b
Showing 1 changed file with 1 addition and 37 deletions.
38 changes: 1 addition & 37 deletions .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,42 +44,6 @@ jobs:
cat "diff.txt";
echo 'EOF';
} >> $GITHUB_OUTPUT
- uses: ./
name: "Code Review"
id: review1
with:
apiKey: ${{ secrets.API_KEY }}
githubToken: ${{ secrets.GITHUB_TOKEN }}
githubRepository: ${{ github.repository }}
githubPullRequestNumber: ${{ github.event.pull_request.number }}
gitCommitHash: ${{ github.event.pull_request.head.sha }}
repoId: "meta-llama/Llama-2-7b-chat-hf"
temperature: "0.2"
maxNewTokens: "250"
topK: "50"
topP: "0.95"
pullRequestDiff: |-
${{ steps.get_diff.outputs.pull_request_diff }}
pullRequestChunkSize: "3500"
logLevel: "DEBUG"
- uses: ./
name: "Code Review"
id: review2
with:
apiKey: ${{ secrets.API_KEY }}
githubToken: ${{ secrets.GITHUB_TOKEN }}
githubRepository: ${{ github.repository }}
githubPullRequestNumber: ${{ github.event.pull_request.number }}
gitCommitHash: ${{ github.event.pull_request.head.sha }}
repoId: "meta-llama/Llama-2-13b-chat-hf"
temperature: "0.2"
maxNewTokens: "250"
topK: "50"
topP: "0.95"
pullRequestDiff: |-
${{ steps.get_diff.outputs.pull_request_diff }}
pullRequestChunkSize: "3500"
logLevel: "DEBUG"
- uses: ./
name: "Code Review"
id: review3
Expand All @@ -89,7 +53,7 @@ jobs:
githubRepository: ${{ github.repository }}
githubPullRequestNumber: ${{ github.event.pull_request.number }}
gitCommitHash: ${{ github.event.pull_request.head.sha }}
repoId: "codellama/CodeLlama-13b-hf"
repoId: "codellama/CodeLlama-34b-Instruct-hf"
temperature: "0.2"
maxNewTokens: "250"
topK: "50"
Expand Down

0 comments on commit e59fe7b

Please sign in to comment.