From ab6edf09342a0de2b846e78461ce843f599cea56 Mon Sep 17 00:00:00 2001 From: Amine E Date: Thu, 23 May 2024 18:21:05 +0200 Subject: [PATCH] Update action to use the correct model and to fix exclusion patterns (#65) * update action * update action * go back to gpt-4-turbo --- .github/workflows/pr-writer.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-writer.yml b/.github/workflows/pr-writer.yml index fdb7af1..f024c7d 100644 --- a/.github/workflows/pr-writer.yml +++ b/.github/workflows/pr-writer.yml @@ -27,11 +27,11 @@ jobs: # OpenAI model to use for PR description generation. Defaults to 'gpt-3.5-turbo-0125'. # If your repository contains complex logic or expects large diffs, use 'gpt-4-0125-preview' or newer. # Learn more at: https://platform.openai.com/docs/models/overview - openai-model: "gpt-4-turbo" + openai-model: "gpt-4-turbo-2024-04-09" # File paths or patterns to exclude from the diff analysis. Use semicolons (;) to separate multiple paths. # Example: 'poetry.lock;artifacts/*' # WARNING: Not excluding build artifacts may result in a large diff that may exceed the GPT model's token limit. - exclude-paths: "**/package-lock.json;**/.gitignore;**/.npmignore;**/.prettierignore;**/yarn.lock;**/*.png;**/*.jpg;**/*.jpeg;**/*.gif;**/*.bmp;**/*.svg;**/*.webp;**/*.tiff;broadcast/**/*.json" + exclude-paths: "**/package-lock.json;**/.gitignore;**/.npmignore;**/.prettierignore;**/yarn.lock;**/*.png;**/*.jpg;**/*.jpeg;**/*.gif;**/*.bmp;**/*.svg;**/*.webp;**/*.tiff;**/broadcast/**/*.json" # Absolute file path to a markdown or text file to append to the PR message (checklist, etc.) # Example: '.github/pull_request_append.md' pr-append-file: ""