feat: Unify the 'Add Model Provider' modal (#15768)

### What problem does this PR solve?

feat:Unify the 'Add Model Provider' modal

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
- [x] Refactoring
This commit is contained in:
chanx
2026-06-08 16:46:52 +08:00
committed by GitHub
parent 4bbd59823a
commit 144abbe2eb
40 changed files with 3706 additions and 3840 deletions

View File

@@ -8,6 +8,7 @@ const {
addProvider,
addProviderInstance,
verifyProviderConnection,
listProviderModels,
listProviderInstances,
listInstanceModels,
showProviderInstance,
@@ -45,6 +46,10 @@ const methods = {
url: verifyProviderConnection,
method: 'post',
},
listProviderModels: {
url: listProviderModels,
method: 'get',
},
listProviderInstances: {
url: listProviderInstances,
method: 'get',