feat: add Qiniu provider support#1113
Open
JackChiang233 wants to merge 1 commit intonextlevelbuilder:devfrom
Open
feat: add Qiniu provider support#1113JackChiang233 wants to merge 1 commit intonextlevelbuilder:devfrom
JackChiang233 wants to merge 1 commit intonextlevelbuilder:devfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Added support for Qiniu AI (七牛云) as a new model provider.
What changed
ui/web/src/constants/providers.ts- Defines Qiniu provider metadata for the web client provider list.ui/desktop/frontend/src/constants/providers.ts- Adds Qiniu provider constants used by the desktop frontend.internal/store/provider_store.go- Persists and serves Qiniu provider configuration in the backend store layer.internal/http/providers.go- Exposes Qiniu provider data through provider-related HTTP endpoints.internal/http/provider_models.go- Implements Qiniu model listing and fallback handling in provider models APIs.internal/http/provider_models_test.go- Verifies Qiniu provider model behavior and fallback logic with HTTP tests.internal/http/provider_models_catalog.go- Registers Qiniu model catalog entries used by provider model resolution.internal/config/config_secrets.go- Adds Qiniu secret fields to secure provider credential configuration.internal/config/config_load.go- Loads Qiniu provider settings from configuration sources at startup.internal/config/config_channels.go- Wires Qiniu provider channel mapping into config channel definitions.cmd/gateway_providers.go- Registers Qiniu in gateway provider bootstrap and CLI startup wiring.Testing
Type