Versions Compared

Key

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

...

Info

If it is the first time you are using the app, most of the ChatGPT configuration are pre-filled for you. Some steps might therefore be already done.

Follow As a repository administrator, follow these steps:

  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_SECRET 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-4-1106-preview.

...