File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,18 +17,19 @@ jobs:
1717
1818 steps :
1919 - name : Run PR-Agent
20- uses : qodo-ai/pr-agent@main
2120 env :
22- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
21+ # GitHub 토큰 (이름 주의!)
22+ GITHUB__USER_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2323
24- OPENAI.KEY : ${{ secrets.OPENAI_KEY }}
25- OPENAI.API_BASE : " http://localhost:8000/v1"
24+ # OpenAI 설정
25+ OPENAI__KEY : ${{ secrets.OPENAI_KEY }}
26+ OPENAI__API_BASE : " http://localhost:8000/v1"
2627
27- config.model : " openai/nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-FP8 "
28- config.model_turbo : " openai/nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-FP8"
29- config.fallback_models : ' [ "openai/nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-FP8"] '
30- config.custom_model_max_tokens : " 32768 "
31-
32- github_action_config.auto_review : " true "
33- github_action_config.auto_describe : " true "
34- github_action_config.auto_improve : " true "
28+ # 모델 설정
29+ CONFIG__MODEL : " openai/nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-FP8"
30+ CONFIG__MODEL_TURBO : " openai/nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-FP8"
31+ CONFIG__FALLBACK_MODELS : ' ["openai/nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-FP8"] '
32+ CONFIG__CUSTOM_MODEL_MAX_TOKENS : " 32768 "
33+ run : |
34+ source ~/pr-agent-env/bin/activate
35+ pr-agent --pr_url "${{ github.event.pull_request.html_url }}" review
You can’t perform that action at this time.
0 commit comments