Skip to content

feat: add Astraflow (UCloud) provider presets - #1537

Open
ucloudnb666 wants to merge 1 commit into
YaoApp:mainfrom
ucloudnb666:feat/astraflow-1779362856
Open

feat: add Astraflow (UCloud) provider presets#1537
ucloudnb666 wants to merge 1 commit into
YaoApp:mainfrom
ucloudnb666:feat/astraflow-1779362856

Conversation

@ucloudnb666

Copy link
Copy Markdown

Summary

Adds two new LLM provider presets for Astraflow by UCloud (优刻得) — an OpenAI-compatible AI model aggregation platform that supports 200+ models.

What changed

llmprovider/presets.yml — two new ProviderPreset entries:

Key Locale Endpoint
astraflow (global) https://api-us-ca.umodelverse.ai/v1
astraflow_cn zh-cn https://api.modelverse.cn/v1

Both use type: openai because Astraflow is fully OpenAI-API-compatible — no new SDK, no new Go package, no new connector code needed.

Default models pre-populated

Each preset ships with 6 representative models enabled/disabled appropriately:

  • DeepSeek V3 (enabled) — fast general-purpose
  • DeepSeek R1 (enabled) — reasoning
  • GPT-4o, GPT-4o Mini, Claude Sonnet 4.6, Gemini 2.0 Flash (disabled by default)

Sign-up / API key

No breaking changes

  • Existing presets and providers are untouched.
  • The locale: zh-cn field on astraflow_cn ensures it is only surfaced to Chinese-locale users via GetPresetsForLocale, matching the pattern used by kimi_cn, qwen_cn, etc.
  • Zero runtime impact — presets are UI-only templates; no connector is registered until a user explicitly creates a provider from the preset.

Signed-off-by: ucloudnb666 <ucloudnb666@users.noreply.github.com>
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.

1 participant