From 0de640edd8f15d00fd452e128e46860712f4ae7b Mon Sep 17 00:00:00 2001 From: beppeb Date: Tue, 19 Aug 2025 10:26:42 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/code-revi?= =?UTF-8?q?ew.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/code-review.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/code-review.yml b/.gitea/workflows/code-review.yml index 867ea86..9cd907f 100644 --- a/.gitea/workflows/code-review.yml +++ b/.gitea/workflows/code-review.yml @@ -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