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

Function searchOllamaModel

frontend/src/api/modules/ai.ts:16–18  ·  view source on GitHub ↗
(params: AI.OllamaModelSearch)

Source from the content-addressed store, hash-verified

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};
19export const loadOllamaModel = (name: string) => {
20 return http.post<string>(`/ai/ollama/model/load`, { name: name });
21};

Callers

nothing calls this directly

Calls 1

postMethod · 0.80

Tested by

no test coverage detected