Files
coder/docs/ai-coder/ai-bridge/clients/cline.md
T
2026-02-03 08:13:39 +00:00

1.3 KiB

Cline

Cline supports both OpenAI and Anthropic models and can be configured to use AI Bridge by setting providers.

Configuration

To configure Cline to use AI Bridge, follow these steps: Cline Settings

OpenAI Compatible

  1. Open Cline in VS Code.
  2. Go to Settings.
  3. API Provider: Select OpenAI Compatible.
  4. Base URL: Enter https://coder.example.com/api/v2/aibridge/openai/v1.
  5. OpenAI Compatible API Key: Enter your Coder Session Token.
  6. Model ID (Optional): Enter the model you wish to use (e.g., gpt-5.2-codex).

Cline OpenAI Settings

Anthropic

  1. Open Cline in VS Code.
  2. Go to Settings.
  3. API Provider: Select Anthropic.
  4. Anthropic API Key: Enter your Coder Session Token.
  5. Base URL: Enter https://coder.example.com/api/v2/aibridge/anthropic after checking Use custom base URL.
  6. Model ID (Optional): Select your desired Claude model.

Cline Anthropic Settings

References: Cline Configuration