更新 .gitea/workflows/code-review.yml
This commit is contained in:
@@ -35,7 +35,7 @@ jobs:
|
||||
- name: Preflight - OpenAI 连接
|
||||
env:
|
||||
OPENAI_TOKEN: ${{ secrets.OPENAI_TOKEN }}
|
||||
OPENAI_PROXY: https://api.zhizengzeng.com/v1
|
||||
OPENAI_PROXY: https://api.zhizengzeng.com/v1/chat/completions
|
||||
run: |
|
||||
set -e
|
||||
curl -sS -i ${OPENAI_PROXY:+--proxy $OPENAI_PROXY} \
|
||||
@@ -46,7 +46,7 @@ jobs:
|
||||
uses: ingress-it-solutions/gitea-code-review-action@v0.1
|
||||
env:
|
||||
# 可直连则删除本行;需代理则改成你的代理地址
|
||||
https://api.zhizengzeng.com/v1
|
||||
https://api.zhizengzeng.com/v1/chat/completions
|
||||
with:
|
||||
SOURCE_AT: gitea
|
||||
GITHUB_BASE_URL: https://devstar.cn
|
||||
|
||||
Reference in New Issue
Block a user