Skip to content

feat: add Astraflow provider support#470

Open
ucloudnb666 wants to merge 1 commit into
robertpiosik:devfrom
ucloudnb666:feat/astraflow-1779442723
Open

feat: add Astraflow provider support#470
ucloudnb666 wants to merge 1 commit into
robertpiosik:devfrom
ucloudnb666:feat/astraflow-1779442723

Conversation

@ucloudnb666
Copy link
Copy Markdown

Summary

Adds Astraflow by UCloud as a supported chatbot in CodeWebChat — both the global and China endpoints.

Astraflow is an OpenAI-compatible AI model aggregation platform supporting 200+ models.

Changes

  • packages/shared/src/constants/chatbots.ts: Registers two new chatbot entries in the CHATBOTS constant, inserted in alphabetical order before Arena:
    • Astraflow — global endpoint at https://astraflow.ucloud-global.com
    • Astraflow CN — China endpoint at https://astraflow.ucloud.cn

Both entries follow the same pattern as OpenRouter (another OpenAI-compatible aggregation platform with a web chat UI), enabling:

  • Custom temperature
  • Custom top-p
  • System instructions
  • User-provided model selection
  • Default system instructions pre-filled

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