Skip to content

feat: add Astraflow provider support#157

Open
ucloudnb666 wants to merge 1 commit into
PawanOsman:mainfrom
ucloudnb666:feat/astraflow-1783309190
Open

feat: add Astraflow provider support#157
ucloudnb666 wants to merge 1 commit into
PawanOsman:mainfrom
ucloudnb666:feat/astraflow-1783309190

Conversation

@ucloudnb666

Copy link
Copy Markdown

Changes

Adds Astraflow (by UCloud) as a supported provider in OpenCursor.

What is Astraflow?

Astraflow is an OpenAI-compatible AI model aggregation platform by UCloud supporting 200+ models, with both global and China endpoints.

Integration details

  • Added two Astraflow presets to PROVIDER_PRESETS:
    • Astraflow (Global): https://api-us-ca.umodelverse.ai/v1 (API key: ASTRAFLOW_API_KEY)
    • Astraflow (China): https://api.modelverse.cn/v1 (API key: ASTRAFLOW_CN_API_KEY)
  • Added both variants to POPULAR_KINDS to show them as quick-connect cards in the Providers panel
  • Both use the standard OpenAI-compatible flow (no new SDK or special handling required)

Testing

Users can now:

  1. Open OpenCursor settings → Providers → Popular Providers
  2. See Astraflow (Global) and Astraflow (China) cards
  3. Connect by entering their API key
  4. Select Astraflow models in the chat picker

References

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