Add the possibility to delete a model (bug 1908939)

This commit is contained in:
Calixte Denizet 2024-07-19 18:58:20 +02:00
parent d0b580e79f
commit b759470ed5
2 changed files with 8 additions and 0 deletions

View file

@ -320,6 +320,10 @@ class MLManager {
return !!(await this.#enabled?.get(name));
}
deleteModel(service) {
return FirefoxCom.requestAsync("mlDelete", service);
}
guess(data) {
return FirefoxCom.requestAsync("mlGuess", data);
}