Skip to main content
Cline and its fork Roo Code are open-source coding-agent extensions for VS Code that can read and write files and run commands. Both offer an OpenAI Compatible provider: enter the Base URL, API key and model ID to connect to DreamTo.

Prerequisites

  • Cline or Roo Code installed from the VS Code Marketplace.
  • An API key created on the API Keys page of the DreamTo console.
  • A Chat Completions model ID, such as deepseek-v4.1-flash-1017 or gpt-6.2-sol.

Setup

1

Open settings

Click the Cline / Roo Code icon in the sidebar, then click the ⚙️ settings button at the top of the panel.
2

Select OpenAI Compatible and fill in the fields

Under Model Configuration, set Context Window size and Max Output Tokens to the model’s actual specs, and enable image support if the model accepts images.
3

Save and test

Save, then send a simple task in the chat, such as “Explain the currently open file”. A normal response means the setup works.

Using Claude models

You can use Claude model IDs directly with the OpenAI Compatible configuration above. If you prefer the native Anthropic protocol, select API Provider = Anthropic, check Use custom base URL, enter https://api.dreamto.ai (no /v1), then enter your DreamTo API key and a Claude model ID (e.g. claude-sonnet-5-5).
The Anthropic provider’s model dropdown only lists official Anthropic model names. If your extension version doesn’t allow a custom model ID, use the OpenAI Compatible provider instead.

FAQ

Make sure the API key was copied in full with no extra spaces.
  • The OpenAI Compatible Base URL must include /v1; the Anthropic custom base URL must not.
  • The model ID must match the Model Marketplace.
Cline / Roo Code rely heavily on tool calling and long context. Choose a model with strong tool-calling ability and set Context Window to the model’s real value so context isn’t truncated.
Check VS Code’s proxy setting (http.proxy) and whether a corporate gateway is buffering the SSE stream.