(name: string, taskID: string)
| 5 | import { TimeoutEnum } from '@/enums/http-enum'; |
| 6 | |
| 7 | export const createOllamaModel = (name: string, taskID: string) => { |
| 8 | return http.post(`/ai/ollama/model`, { name: name, taskID: taskID }); |
| 9 | }; |
| 10 | export const recreateOllamaModel = (name: string, taskID: string) => { |
| 11 | return http.post(`/ai/ollama/model/recreate`, { name: name, taskID: taskID }); |
| 12 | }; |