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