Overview
Roo Code is suitable for multi-turn code collaboration in the editor. After configuration is complete, you can directly call Step models in the plugin panel to complete coding tasks.Prerequisites
Development Environment
The following IDEs are supported:- Cursor
- VS Code
Install the Roo Code Plugin
Search for and install the following in the IDE Marketplace:Subscribe to Step Plan
Before you start configuring, make sure your current account has an active Step Plan subscription. Only accounts with the required plan or calling permissions can use model calls and quotas normally. To subscribe or purchase, visit Step Plan subscriptionObtain a Step API Key
Visit the Step Open Platform Console to create an API Key and keep it safe:Configuration Steps
Open the Roo Code settings page and configure the API Provider.Connection Configuration
Set the following parameters:API Provider:OpenAI CompatibleBase URL:https://api.stepfun.ai/step_plan/v1API Key: enter the Step API KeyModel ID: enter<model_id>
Note: In the examples below, replace<model_id>with eitherstep-3.5-flash-2603orstep-3.5-flash.
Parameter Recommendations
The recommended configuration is as follows:Compatibility Notes
In some plugin versions, ifInclude max output tokens is enabled, the request may automatically include the following fields:
- Turn off
Include max output tokens - Or keep
Max Output Tokens = -1
Test the Integration
The original material does not list test steps separately, but after configuration is complete, you can launch a minimal task to verify whether the model invocation is successful, such as creating a new conversation and trying to generate simple code.Common Issues
Connection error
If the following error occurs:- Whether the
Base URLishttps://api.stepfun.ai/step_plan/v1. - Whether the API Key is valid.
- Whether the
Model IDis<model_id>. - Whether the
Context Windowis set to a sufficiently large value (recommended256000).
API Key Error
If the following error occurs:- Whether the key was copied completely
- Whether it belongs to the correct Step environment