feat(provider): add Step Plan provider#1646
Open
niamwite wants to merge 1 commit intoanomalyco:devfrom
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds a new dedicated “Step Plan” provider configuration and registers multiple Step Plan model definitions so Step Plan-scoped API keys can target the correct endpoint.
Changes:
- Added a new
step-planprovider pointing tohttps://api.stepfun.ai/step_plan/v1 - Added Step Plan model metadata for
step-1-32k,step-2-16k,step-3.5-flash, andstep-3.5-flash-2603
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| providers/step-plan/provider.toml | Introduces the Step Plan provider entry, including env var, docs URL, and API base URL |
| providers/step-plan/models/step-1-32k.toml | Adds model metadata (capabilities, limits, and costs) for Step 1 (32K) |
| providers/step-plan/models/step-2-16k.toml | Adds model metadata (capabilities, limits, and costs) for Step 2 (16K) |
| providers/step-plan/models/step-3.5-flash.toml | Adds model metadata (capabilities, limits, and costs) for Step 3.5 Flash |
| providers/step-plan/models/step-3.5-flash-2603.toml | Adds model metadata (capabilities, limits, and costs) for Step 3.5 Flash 2603 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| @@ -0,0 +1,5 @@ | |||
| name = "Step Plan" | |||
| env = ["STEPFUN_API_KEY"] | |||
Comment on lines
+12
to
+14
| input = 0.10 | ||
| output = 0.30 | ||
| cache_read = 0.02 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
step-planprovider with display nameStep Planhttps://api.stepfun.ai/step_plan/v1step-1-32k,step-2-16k,step-3.5-flash,step-3.5-flash-2603)Why
Step Plan API keys are scoped to the Step Plan endpoint and should be represented as a separate provider entry to avoid endpoint mismatch with the existing
stepfunprovider.