Skip to main content
Skip table of contents

Setup Guide for Ollama

As Repository Admin:

  1. go the Code Review Assistant repository settings page.

  2. open the AI Review Assistant tab on top.

Request section

Section

Instructions

API URL

Enter the REST API address for Ollama: http://<ollama-server-host>:11434/api/chat, replacing <ollama-server-host> accordingly.

API Key

Leave empty.

Headers

Leave empty.

Request Body

  1. Click on ➕. Enter model in the input, then click on Add > Text and enter phi4:latest. Check the available models in the official Ollama documentation.

  2. Click on ➕. Enter stream in the input, then click on Add > Boolean and leave it disabled.

The body configuration should look like the following

image-20250131-110735.png

Response Section

Configure how AI Review Assistant will parse the API response.

Section

Instructions

Success Query

Enter message.content

Error Query

Enter error.message

Test and Save

  1. Click on Test and verify that you receive a confirmation message that everything is configured properly.

    image-20250131-105140.png
  2. Click on Save.

If you have trouble in configuring our AI Review Assistant, we are happy to help! 🎉

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.