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

Function recreateOllamaModel

frontend/src/api/modules/ai.ts:10–12  ·  view source on GitHub ↗
(name: string, taskID: string)

Source from the content-addressed store, hash-verified

8 return http.post(`/ai/ollama/model`, { name: name, taskID: taskID });
9};
10export const recreateOllamaModel = (name: string, taskID: string) => {
11 return http.post(`/ai/ollama/model/recreate`, { name: name, taskID: taskID });
12};
13export const deleteOllamaModel = (ids: Array<number>, force: boolean) => {
14 return http.post(`/ai/ollama/model/del`, { ids: ids, forceDelete: force });
15};

Callers

nothing calls this directly

Calls 1

postMethod · 0.80

Tested by

no test coverage detected