a1dancole / OpenAI-Code-Review

The OpenAI Code Review extension enables Azure DevOps teams to seamlessly integrate Open AI into their Azure DevOps pull requests, providing automated code analysis to enhance the code review process
MIT License
18 stars 13 forks source link

Unexpected token ; #9

Open jcbelmontes opened 3 months ago

jcbelmontes commented 3 months ago

Bug Description

Unexpected token ';' message gets thrown when pipeline reaches the Open AI Step.

Steps to Reproduce

  1. Set OpenAI step
    - task: OpenAICodeReview@1
    inputs:
      api_key: $(OpenAI_ApiKey)
      ai_model: 'gpt-3.5-turbo'
      bugs: true
      performance: true
      best_practices: true
  2. Run Pipeline
  3. Wait for step to fail

Expected Behavior

Code Review analysis should be done

Actual Behavior

Step Open AI Code Review fails with message :

Unexpected token ;

image

Environment Information

Additional Information

Build Server OS: Windows Server 2019 64-bit