feat: 新增模型配置 API(批量 + 单条)
This commit is contained in:
parent
af7debd54c
commit
2207720438
@ -37,3 +37,13 @@ export function requestTaskHistory(params) {
|
||||
export function fetchPlatformModels(code) {
|
||||
return service.get(`/suanli/v1/platforms/${code}/models`)
|
||||
}
|
||||
|
||||
// 批量获取模型配置(POST /suanli/v1/models/configs)
|
||||
export function requestModelConfigsBatch(modelIds) {
|
||||
return service.post('/suanli/v1/models/configs', { modelIds })
|
||||
}
|
||||
|
||||
// 单条查询模型配置(GET /suanli/v1/models/:modelId/config)
|
||||
export function requestModelConfig(modelId) {
|
||||
return service.get(`/suanli/v1/models/${modelId}/config`)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user