Skip to content

Commit

Permalink
fix(code-review.yml) : 리뷰 모델 이름 변수 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
jjaegii authored Aug 7, 2024
1 parent ff9f2d6 commit a97763f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/code-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
run: |
ESCAPED_DIFF=$(echo "$DIFF_CONTENT" | jq -sRr @json)
REQUEST_BODY=$(jq -n \
--arg model "Meta-Llama-3_1-8B-Instruct_Q4_K_M" \
--arg model "${{ secrets.REVIEW_MODEL_NAME }}" \
--arg prompt "Review the following code changes and provide feedback:$ESCAPED_DIFF" \
'{model: $model, prompt: $prompt, stream: false}')
FULL_RESPONSE=$(curl -X POST ${REVIEW_API_URL} \
Expand Down

0 comments on commit a97763f

Please sign in to comment.