MCPcopy Index your code
hub / github.com/1Panel-dev/MaxKB / updateModel

Function updateModel

ui/src/api/model/model.ts:91–93  ·  view source on GitHub ↗
(model_id, request, loading)

Source from the content-addressed store, hash-verified

89 request: EditModelRequest,
90 loading?: Ref<boolean>,
91) => Promise<Result<Model>> = (model_id, request, loading) => {
92 return put(`${prefix.value}/model/${model_id}`, request, {}, loading)
93}
94
95/**
96 * 修改模型参数配置

Callers

nothing calls this directly

Calls 1

putFunction · 0.90

Tested by

no test coverage detected