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

Function deleteOllamaModel

frontend/src/api/modules/ai.ts:13–15  ·  view source on GitHub ↗
(ids: Array<number>, force: boolean)

Source from the content-addressed store, hash-verified

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};
16export const searchOllamaModel = (params: AI.OllamaModelSearch) => {
17 return http.post<ResPage<AI.OllamaModelInfo>>(`/ai/ollama/model/search`, params);
18};

Callers

nothing calls this directly

Calls 1

postMethod · 0.80

Tested by

no test coverage detected