Class ProviderImportService

java.lang.Object
com.axelor.ai.provider.ProviderImportService

public class ProviderImportService extends Object
Seeds AiProvider (+ nested AiModel) records from ai/providers/<code>.yaml files.
  • Method Details

    • seed

      public SeedResult seed(AiSource source, SeedMode mode)
    • shippedSyncRules

      public String shippedSyncRules(String code)
      The sync rules the platform ships for this provider code, or null if it ships none.

      Backs "Reset rules to default": because seeding never overwrites edited rules, this is the only route back to the shipped set, and it is deliberately per-provider rather than a global re-seed.