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
19 stars 15 forks source link

Support Azure Pipeline #12

Open HakanKaraoglu opened 1 month ago

HakanKaraoglu commented 1 month ago

Hi, I am using a configuration like the one below, but as you can see in the images, the step is completed and it does not show me any suggestions. I could not understand where the problem is?

Bug Description

Open AI step not working

- task: OpenAICodeReview@1
  inputs:
    api_key: '$(OPENAI_APIKEY)'
    ai_model: 'gpt-3.5-turbo'
    bugs: true
    performance: true
    best_practices: true
    file_extensions: '.cs,.js,.csproj'
    additional_prompts: 'Fix variable naming, Ensure consistent indentation, Review error handling approach'

Screenshots

image image