Skip to content

Fix StepFun preset base URLs#6128

Merged
SivanCola merged 2 commits into
esengine:main-v2from
SivanCola:fix/stepfun-base-url
Jul 6, 2026
Merged

Fix StepFun preset base URLs#6128
SivanCola merged 2 commits into
esengine:main-v2from
SivanCola:fix/stepfun-base-url

Conversation

@SivanCola

@SivanCola SivanCola commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

Fixes #6116

Summary

  • Update StepFun curated provider presets to the official api.stepfun.com base URLs.
  • Keep the Anthropic-compatible preset at the /step_plan root so the provider appends /v1/messages.
  • Mirror the desktop frontend mock presets.
  • Migrate legacy saved StepFun preset configs from api.stepfun.ai to api.stepfun.com in memory at runtime and persist the fix through settings/config edit flows.

Tests

  • go test ./internal/config
  • (cd desktop && go test ./...)
  • git diff --check

@SivanCola SivanCola requested a review from esengine as a code owner July 6, 2026 19:10
@github-actions github-actions Bot added v2 Go rewrite (1.x) — main-v2 branch, active development desktop Wails desktop app (desktop/**) config Configuration & setup (internal/config) and removed v2 Go rewrite (1.x) — main-v2 branch, active development labels Jul 6, 2026
@github-actions github-actions Bot added the v2 Go rewrite (1.x) — main-v2 branch, active development label Jul 6, 2026
@SivanCola SivanCola merged commit 9cbe684 into esengine:main-v2 Jul 6, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

config Configuration & setup (internal/config) desktop Wails desktop app (desktop/**) v2 Go rewrite (1.x) — main-v2 branch, active development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: 修正 Stepfun 厂商默认 api baseUrl

1 participant