FIX: start zeitwerk structure

This commit is contained in:
Krzysztof Kotlarek 2023-11-15 09:41:04 +11:00
parent c6902c40ce
commit 8eceb6ef06
28 changed files with 1 additions and 1 deletions

View File

@ -4,5 +4,6 @@ module ::DiscourseAi
class Engine < ::Rails::Engine class Engine < ::Rails::Engine
engine_name PLUGIN_NAME engine_name PLUGIN_NAME
isolate_namespace DiscourseAi isolate_namespace DiscourseAi
config.autoload_paths << File.join(config.root, "lib")
end end
end end

View File

@ -58,7 +58,6 @@ after_initialize do
require_relative "lib/modules/ai_helper/entry_point" require_relative "lib/modules/ai_helper/entry_point"
require_relative "lib/modules/embeddings/entry_point" require_relative "lib/modules/embeddings/entry_point"
require_relative "lib/modules/summarization/entry_point" require_relative "lib/modules/summarization/entry_point"
require_relative "lib/modules/ai_bot/entry_point"
require_relative "lib/discourse_automation/llm_triage" require_relative "lib/discourse_automation/llm_triage"
[ [