model param and make file

This commit is contained in:
sadath-12 2023-07-16 08:55:14 +05:30
parent 489f650419
commit 4509e8d5dc
2 changed files with 4 additions and 0 deletions

View file

@ -42,6 +42,7 @@ jobs:
with: with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
OPENAI_MODEL: 'gpt-3.5-turbo' ## change the model if according to your requirements
exclude: "**/*.json, **/*.md" # Optional: exclude patterns separated by commas exclude: "**/*.json, **/*.md" # Optional: exclude patterns separated by commas
``` ```

View file

@ -7,6 +7,9 @@ inputs:
OPENAI_API_KEY: OPENAI_API_KEY:
description: "OpenAI API key for GPT." description: "OpenAI API key for GPT."
required: true required: true
OPENAI_MODEL:
description: "OpenAI model for GPT."
required: true
exclude: exclude:
description: "Glob patterns to exclude files from the diff analysis" description: "Glob patterns to exclude files from the diff analysis"
required: false required: false