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