Skip to content

Commit

Permalink
usinfg secreat
Browse files Browse the repository at this point in the history
  • Loading branch information
asiniscalchi committed Oct 12, 2023
1 parent 1d6e0c0 commit 058cfa4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/chatgpt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
- name: ChatGTP explain code
uses: cirolini/[email protected]
with:
openai_api_key: "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"
github_token: "ciaociao"
openai_api_key: ${{ secrets.OPENAI_API_KEY }}
github_token: ${{ secrets.GITHUB_TOKEN }}
github_pr_id: ${{ github.event.number }}
# openai_engine: "text-davinci-002" #optional
# openai_temperature: 0.5 #optional
# openai_max_tokens: 2048 #optional
openai_engine: "text-davinci-002" #optional
openai_temperature: 0.5 #optional
openai_max_tokens: 2048 #optional
mode: file # file or patch

0 comments on commit 058cfa4

Please sign in to comment.