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

Function syncOllamaModel

frontend/src/api/modules/ai.ts:22–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20 return http.post<string>(`/ai/ollama/model/load`, { name: name });
21};
22export const syncOllamaModel = () => {
23 return http.post<Array<AI.OllamaModelDropInfo>>(`/ai/ollama/model/sync`);
24};
25export const closeOllamaModel = (name: string) => {
26 return http.post(`/ai/ollama/close`, { name: name });
27};

Callers

nothing calls this directly

Calls 1

postMethod · 0.80

Tested by

no test coverage detected