Connect your tools
Roo Code
Roo Code in VS Code: set the API Provider to OpenAI Compatible.
About 5 minFor:Developers who use Roo Code for agentic coding
Before you start
- VS Code with the Roo Code extension
- A key and a model name from the plaza that supports tool calling
Step 1 · STEP 0x01
Choose OpenAI Compatible and enter the address and key
API Provider
Base URL
API Key
Open the Roo Code sidebar, click the gear, set API Provider to OpenAI Compatible, enter the Base URL and your API Key.
https://api.suanlimao.shop/v1 as the API address (with /v1). If the tool says 404, check whether /v1 is missing or doubled, then read the FAQ below.Step 2 · STEP 0x02
Enter the model and tune its configuration
Model
Context Window
Max Output Tokens
Image Support
- Model is the name copied from the plaza.
- Context window, max output, image support and prices under Model Configuration come from the plaza; Roo Code uses them for cost estimates and context trimming.
Step 3 · STEP 0x03
Run a task
Task box
- Send a simple task; if the model replies and starts calling tools (reading files, etc.) it works.
✓ How to tell it worked
- Tasks get replies and tool calls work.
- The Usage page shows the request.
FAQ
Invalid API Key?
The key is truncated or revoked.
Model Not Found?
Model does not match the plaza — copy it again; also check whether /v1 is missing or doubled in the Base URL.
Tool-calling errors?
The model lacks native tool calling or implements the tools API only partially. Switch to a model marked as tool-calling on the plaza.
Related tutorials
Still stuck?
Read the troubleshooting tutorials first. If that does not help, open a ticket with the request_id, time, model and the exact error (never paste your key).