CanalAPI
Community tools

Cline setup

Use Cline OpenAI Compatible settings to connect CanalAPI and verify coding tasks.

Cline can read and modify projects in VS Code and run approved tool actions. Install through the official project and check the extension's publisher.

Checked on 2026-11-03; release snapshot v4.1.26. These fields follow the official OpenAI Compatible guide. A real CanalAPI call has not been tested.

Add a connection

Open Cline settings and choose OpenAI Compatible as the API Provider:

SettingValue
API ProviderOpenAI Compatible
Base URLhttps://api.canalapi.com/v1
API KeyYour CanalAPI key
Model IDFull ID of a model supporting Chat Completions and tools

Use this compatible-provider option. OpenAI / Codex account or subscription login and Azure identity authentication are separate methods. To create a key, see the quickstart.

If the version asks for context window, maximum output or image support, enter the model's actual capabilities. A capability checkbox cannot add a feature the model does not support.

Verify in two stages

  1. Select the new configuration, send “Reply only OK”, and check the request and model in CanalAPI usage logs.
  2. Open a test project without sensitive data and ask Cline to explain its structure. Keep manual approval enabled; verify read-only actions before approving edits or terminal commands.

Start with auto-approval disabled. Longer tasks can issue many requests. Client-side cost estimates may not use CanalAPI prices; use CanalAPI records for actual usage charges.

Common issues

  • Model list loads but inference fails: the public catalog does not validate the key. Inspect the chat error instead of refreshing the list.
  • Chat works but tools fail: check tool support, context and output parameters.
  • Requests use another provider: check the active configuration, URL and model. Do not put /chat/completions in the Base URL.
  • Repeated failures: stop the task and preserve the redacted error and request ID. Use troubleshooting before retrying.

Official fields and UI reference: OpenAI Compatible.

On this page