From e5faf632331d6fbd5bc9c65893d3f70c1d8216bb Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Wed, 29 May 2024 20:11:44 +0800 Subject: [PATCH] Update GPT model to GPT-4o --- .github/workflows/code_review.yml | 2 +- action.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/code_review.yml b/.github/workflows/code_review.yml index 3edcf77..eb983ed 100644 --- a/.github/workflows/code_review.yml +++ b/.github/workflows/code_review.yml @@ -16,5 +16,5 @@ jobs: with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - OPENAI_API_MODEL: "gpt-4-1106-preview" + OPENAI_API_MODEL: "gpt-4o" exclude: "yarn.lock,dist/**" diff --git a/action.yml b/action.yml index 976aed7..7597953 100644 --- a/action.yml +++ b/action.yml @@ -10,7 +10,7 @@ inputs: OPENAI_API_MODEL: description: "OpenAI API model." required: false - default: "gpt-4" + default: "gpt-4o" exclude: description: "Glob patterns to exclude files from the diff analysis" required: false