Skip to content

feat(provider): add Step Plan provider#1646

Open
niamwite wants to merge 1 commit intoanomalyco:devfrom
niamwite:feat/add-step-plan-provider
Open

feat(provider): add Step Plan provider#1646
niamwite wants to merge 1 commit intoanomalyco:devfrom
niamwite:feat/add-step-plan-provider

Conversation

@niamwite
Copy link
Copy Markdown

Summary

  • add a dedicated step-plan provider with display name Step Plan
  • set Step Plan endpoint to https://api.stepfun.ai/step_plan/v1
  • include Step Plan model definitions (step-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 stepfun provider.

Copilot AI review requested due to automatic review settings April 30, 2026 08:39
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-plan provider pointing to https://api.stepfun.ai/step_plan/v1
  • Added Step Plan model metadata for step-1-32k, step-2-16k, step-3.5-flash, and step-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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants