Skip to content

Commit

Permalink
Merge pull request #13 from lfsevergnini/chore/add-model-version-para…
Browse files Browse the repository at this point in the history
…meter

add customizable OpenAI API model parameter
  • Loading branch information
villesau authored Jul 31, 2023
2 parents 012d1cd + 74ae89b commit d3abad1
Show file tree
Hide file tree
Showing 5 changed files with 1,560 additions and 1,473 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
OPENAI_API_MODEL: "gpt-4" # Optional: defaults to "gpt-4"
exclude: "**/*.json, **/*.md" # Optional: exclude patterns separated by commas
```
Expand Down
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ inputs:
OPENAI_API_KEY:
description: "OpenAI API key for GPT."
required: true
OPENAI_API_MODEL:
description: "OpenAI API model."
required: false
default: "gpt-4"
exclude:
description: "Glob patterns to exclude files from the diff analysis"
required: false
Expand Down
Loading

0 comments on commit d3abad1

Please sign in to comment.