Skip to content

Test translate

Test translate #4

name: GPT Translate
on:
issue_comment:
types: [ created ]
jobs:
gpt_translate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run GPT Translate
if: |
contains(github.event.comment.body, '/gpt-translate') ||
contains(github.event.comment.body, '/gt')
uses: 3ru/gpt-translate@master
with:
# Refer: https://g-t.vercel.app/docs/references/input.en
apikey: ${{ secrets.OPENAI_API_KEY }}
provider: 'openai'
model: 'llama-3.1-sonar-small-128k-chat'
basePath: https://api.perplexity.ai
temperature: 0