Package com.axelor.ai.web
Class AiProviderController
java.lang.Object
com.axelor.ai.web.AiProviderController
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidresetSyncRules(ActionRequest request, ActionResponse response) Restores the sync rules the platform ships for this provider.voidsyncModels(ActionRequest request, ActionResponse response) Syncs models from the provider's own API.
-
Constructor Details
-
AiProviderController
public AiProviderController()
-
-
Method Details
-
syncModels
Syncs models from the provider's own API.There is no preview, so the message built here is the administrator's record of what changed — it names the models, not just the counts.
-
resetSyncRules
Restores the sync rules the platform ships for this provider.Seeding never overwrites edited rules, so this is the only route back to the shipped set.
-