Feat: v0.27.0 model provider (#16604)

This commit is contained in:
Lynn
2026-07-08 09:47:29 +08:00
committed by GitHub
parent cb93883f3f
commit 0ae5961e1c
94 changed files with 7539 additions and 3044 deletions

View File

@@ -16,6 +16,9 @@ const {
editInstanceModel,
deleteProviderInstance,
updateModelStatus,
patchInstanceModel,
deleteInstanceModels,
updateProviderInstance,
} = api;
const methods = {
@@ -79,6 +82,18 @@ const methods = {
url: updateModelStatus,
method: 'patch',
},
patchInstanceModel: {
url: patchInstanceModel,
method: 'patch',
},
deleteInstanceModels: {
url: deleteInstanceModels,
method: 'delete',
},
updateProviderInstance: {
url: updateProviderInstance,
method: 'put',
},
} as const;
const llmService = registerNextServer<keyof typeof methods>(methods);