mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-01 13:33:48 +08:00
Feat: v0.27.0 model provider (#16604)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user