Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"ChatGPT Was Unable To Process The Response" #28

Open
danvau7 opened this issue Feb 6, 2024 · 1 comment
Open

"ChatGPT Was Unable To Process The Response" #28

danvau7 opened this issue Feb 6, 2024 · 1 comment

Comments

@danvau7
Copy link

danvau7 commented Feb 6, 2024

See the following screenshot. I am getting error messages that read: ChatGPT was unable to process the response about XYZ:

image

This action has the correct permissions to write comments to the PR. Also, it appears the OpenAI token is working as I created it with maximum permissions on the OpenAI side, and I can see it is hitting the OpenAI API on the usage page for the token.

QUESTION: Any idea why I might be getting these responses?

This Github Action looks terrific and would love to be able to use it.

The code I am using is as follows. I removed the "davinci" engine that is in the sample / readme as I was receiving warnings it was deprecated in the Github Action logs:

jobs:
    review-1:
        runs-on: ubuntu-latest
        name: ChatGPT Cirolini Code Review
        steps:
        - name: ChatGPT Cirolini Code Review
          uses: cirolini/[email protected]
          with:
            openai_api_key: ${{ secrets.openai_api_key }}
            github_token: ${{ secrets.GITHUB_TOKEN }}
            github_pr_id: ${{ github.event.number }}
            openai_engine: "gpt-3.5-turbo-1106"
            openai_temperature: 0.5
            openai_max_tokens: 2048
            mode: patch
@cirolini
Copy link
Owner

Sorry for delay in response.

Maybe you can try the v2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants