能支持上传封面吗? #129
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .github/workflows/gpt-translate.yml | |
name: GPT Translate | |
on: | |
issue_comment: | |
types: [ created ] | |
jobs: | |
gpt_translate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run GPT Translate | |
if: | | |
contains(github.event.comment.body, '/gpt-translate') || | |
contains(github.event.comment.body, '/gt') | |
uses: 3ru/gpt-translate@master | |
with: | |
apikey: ${{ secrets.OPENAI_API_KEY }} | |
basePath: 'https://burn.hair/v1' | |
model: 'gpt-4-0125-preview' |