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

Function closeOllamaModel

frontend/src/api/modules/ai.ts:25–27  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

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};
28
29export const bindDomain = (req: AI.BindDomain) => {
30 return http.post(`/ai/domain/bind`, req);

Callers

nothing calls this directly

Calls 1

postMethod · 0.80

Tested by

no test coverage detected