Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Go the Code Review Assistant repository settings

  2. Make sure you are in the AI Review Assistant tab on top

  3. In the API URL section, enter the REST API address for ChatGPT: https://api.openai.com/v1/chat/completions. If you are using Azure OpenAI, the address will be of the form https://{resource-name}.openai.azure.com/openai/deployments/{deployment-id}/completions instead.

  4. In the Headers section, click on the “Add Header” button and enter Authorization on the left side, and Bearer $API_SECRETKEY on the right side, as shown below

    image-20250120-134652.png

  5. In the Request Body section, click on the ➕ icon. Enter model in the input, then click on Add > Text and enter gpt-44o-2024-110608-preview06.

The gpt-4-1106-preview model is the most up-to-date model at the time of this writing. Make sure to check-out the available models in their official documentation.

...