app->register(RouteServiceProvider::class); $this->mergeConfigFrom(module_path('AI', 'Config/config.php'), 'ai'); $this->app->singleton(AIManagerContract::class, AIManager::class); } public function boot(): void { $this->loadMigrationsFrom(module_path('AI', 'Database/Migrations')); $this->loadViewsFrom(module_path('AI', 'Resources/views'), 'ai'); if ($this->app->runningInConsole()) { $this->commands([TestAIProvider::class, PruneAIExecutions::class]); } } }