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

Issue with GitHub Action and GPT Model Selection #538

Closed
imcodingideas opened this issue Dec 20, 2023 · 5 comments
Closed

Issue with GitHub Action and GPT Model Selection #538

imcodingideas opened this issue Dec 20, 2023 · 5 comments

Comments

@imcodingideas
Copy link

Summary

I am currently using a GitHub Action in my workflow, but I'm encountering an unexpected response. Despite having a balance in my account, the action defaults to using gpt-3.5-turbo-16k instead of gpt-4.0.

Screenshot of the Issue

(Full error log is available in the attached screenshot.)

Screenshot 2023-12-19 at 7 50 27 PM

Screenshot 2023-12-19 at 7 57 59 PM

GitHub Action Configuration

Here is the relevant part of my GitHub Action configuration:

name: PR Agent

on:
  pull_request:
  issue_comment:

permissions:
  issues: write
  pull-requests: write
  contents: write

jobs:
  pr_agent_job:
    runs-on: ubuntu-latest
    name: Run on every pull request, and respond to user comments
    steps:
      - name: PR Agent action step
        id: pragent
        uses: Codium-ai/pr-agent@main
        env:
          OPENAI_KEY: ${{ secrets.OPENAI_KEY }}
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          GITHUB_ACTION.AUTO_REVIEW: true
          GITHUB_ACTION.AUTO_IMPROVE: true

Question

Is there a specific configuration or step required to ensure the GitHub Action utilizes gpt-4.0 instead of defaulting to gpt-3.5-turbo-16k? Do I need to use gpt-4.0 specifically?

Any guidance or suggestions would be greatly appreciated.

@imcodingideas
Copy link
Author

Somehow it started working.

@mrT23
Copy link
Collaborator

mrT23 commented Dec 25, 2023

Similar Issues (pinecone)


  1. Unable to use Github Action anymore (score=0.87)

  2. Unable to get PR-Agent GitHub Action to use Azure OpenAI (score=0.86)

  3. GPT-4 prediction failure (score=0.86)

  4. Github actions error (score=0.85)

  5. Inline comments aren't working (score=0.84)

@mrT23
Copy link
Collaborator

mrT23 commented Dec 25, 2023

1 similar comment
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