#10857: Add model provider StepFun
docs
cli
commands
agents
size: L
Cluster:
Provider Support Enhancements
## Summary
Refactor StepFun onboarding to handle multiple endpoints via auth choices (GLM-style), instead of introducing StepFun-specific onboarding parameters.
This PR adds StepFun as a provider in onboarding/CLI/docs and supports model `step-3.5-flash`.
## What changed
- Added StepFun auth choices:
- `stepfun-api-key` (default/global endpoint)
- `stepfun-cn` (China endpoint)
- Removed StepFun-specific onboarding flag/type plumbing (`--stepfun-endpoint`).
- Resolved endpoint selection through auth-choice mapping in both interactive and non-interactive onboarding paths.
- Preserved existing `models.providers.stepfun.baseUrl` on reruns when using `stepfun-api-key`.
- Updated docs/CLI references for the auth-choice-based endpoint handling.
## User-facing behavior
- Default flow stays simple: select StepFun and provide API key.
- CN endpoint is available via the dedicated auth choice when needed.
- Existing StepFun configs are not clobbered by rerunning onboarding with the default StepFun auth choice.
## Testing performed
- `pnpm test src/commands/auth-choice.stepfun.test.ts src/commands/onboard-non-interactive.stepfun.test.ts`
- `pnpm exec vitest run --config vitest.e2e.config.ts src/commands/onboard-non-interactive.provider-auth.e2e.test.ts`
- `pnpm exec oxfmt --check src/cli/program/register.onboard.ts src/commands/auth-choice-options.e2e.test.ts src/commands/auth-choice-options.ts src/commands/auth-choice.apply.api-providers.ts src/commands/auth-choice.apply.ts src/commands/auth-choice.preferred-provider.ts src/commands/auth-choice.stepfun.test.ts src/commands/onboard-non-interactive.stepfun.test.ts src/commands/onboard-non-interactive/local/auth-choice.ts src/commands/onboard-types.ts src/wizard/onboarding.ts`
## Screenshot
I will refresh the onboarding screenshot in a follow-up update.
Most Similar PRs
#17845: feat(onboard): add built-in Fireworks provider
by Autumn-Whisper · 2026-02-16
65.7%
#7272: Models: add SiliconFlow provider
by qychen2001 · 2026-02-02
64.6%
#11151: feat: add DeepSeek provider support
by MackDing · 2026-02-07
63.1%
#7418: feat (amazon-nova): add Amazon Nova 1P provider
by 5herlocked · 2026-02-02
62.4%
#3591: CLI: add OpenAI-compatible endpoint auth choice
by surak · 2026-01-28
62.1%
#12503: feat: add DeepSeek provider suppor
by MackDing · 2026-02-09
62.0%
#19841: feat: add Amazon Bedrock as first-class onboarding provider
by elbeyf · 2026-02-18
62.0%
#15991: feat: add Novita AI provider support with dynamic model discovery
by Alex-wuhu · 2026-02-14
62.0%
#18670: feat: add first-class Claude Code CLI auth path + CLI model UX hard...
by SmithLabsLLC · 2026-02-16
61.6%
#23117: wizard: add manual endpoint type selection when custom provider det...
by wjonaskr · 2026-02-22
61.2%