Prerequisites
- VS Code and the official Cline extension.
- An active API key from the RunBridge AI console.
- A text model available to your key that supports Chat Completions and streaming. Choose a model with tool calling for agent tasks, and image support only if you need image input.
Install and configure Cline
Install Cline from the linked VS Code Marketplace listing, open its sidebar, and select the settings gear. Configure these fields:
Keep
/v1 in the Base URL. The OpenAI-compatible adapter adds /chat/completions and authenticates with a Bearer token. RunBridge AI is the custom endpoint you enter, rather than a built-in Cline provider selection.
In Model Configuration, set Context Window and Max Output Tokens to the selected model’s supported limits. Enable Image Support or Computer Use only when the model and its API route support them. Enter current input/output pricing if you want Cline’s local cost estimate; it does not replace RunBridge AI billing.
If you use separate configurations for Plan and Act, choose the intended RunBridge AI provider and model in both modes.
Verify the connection
Save the settings and start a new task in a test folder. Ask: Reply with CONNECTED only. Do not edit any files or run commands. This makes a real API request and may incur usage. Check that a response arrives without authentication or endpoint errors. Then request a small coding change and review Cline’s proposed tool actions before approving them. This checks agent behavior beyond basic text connectivity.Troubleshooting
See Cline’s official OpenAI Compatible guide for the current settings and advanced options.