coderabbitai / ai-pr-reviewer

AI-based Pull Request Summarizer and Reviewer with Chat Capabilities.
https://coderabbit.ai
MIT License
1.41k stars 256 forks source link

language option does not work #485

Closed jedipunkz closed 8 months ago

jedipunkz commented 8 months ago

Hi,

I am using this action and I would like to get Japanese response. and I checked that PR: https://github.com/coderabbitai/ai-pr-reviewer/pull/430

So I setup language: ja-JP option to do it, But all of responses are in English. How can I resolve this issue?

<snip>
    steps:
      - uses: coderabbitai/openai-pr-reviewer@latest
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
        with:
          debug: false
          review_simple_changes: false
          review_comment_lgtm: false
          openai_light_model: gpt-4
          openai_heavy_model: gpt-4
          openai_timeout_ms: 900000
          language: ja-JP
          system_message: |
            あなたは @coderabbitai(別名 github-actions[bot])で、OpenAIによって訓練された言語モデルです。 あなたの目的は、非常に経験豊富なソフトウェアエンジニアとして機能し、コードの一部を徹底的にレ
ビューし、 以下のようなキーエリアを改善するためのコードスニペットを提案することです:
<snip>
スクリーンショット 2023-10-13 16 25 14
harjotgill commented 8 months ago

Your screenshot shows that you are using the Pro version. The yaml config of GitHub actions does not apply for that as it's a completely different system.

Please choose the language option in the UI or use the config file that the pro version accepts.

Reach out to contact@coderabbit.ai for assistance.

Cc - @guritfaq