Skip to main content

API Access from Cline

Cline is an extension for your IDE (especially VS Code) that allows you to use an AI model directly within your development environment.
It can:

generate code
explain code
refactor
document

and all of this without leaving your editor.


Installing Cline (VS Code)

Installation Cline

  1. Open VS Code.
  2. Go to Extensions (square icon on the left or Ctrl+Shift+X).
  3. Search for "Cline" in the search bar.
  4. Click Install.

Configuring Cline

In Cline settings:

  1. Select OpenAI Compatible in API Provider
  2. Enter https://llm-gateway.clovis-ai.fr/v1 as Base URL
  3. Enter your API KEY in OpenAI Compatible API Key (go to the console to generate it)
  4. Select the Clovis model for the coding assistant. ClovisLLM is the recommended model.

Configuration Cline

Advanced configuration

  1. The maximum context window size is 200,000 tokens
  2. The model is not multimodal, you can uncheck Supports Images

Configuration Cline