FIX: start zeitwerk structure
This commit is contained in:
parent
c6902c40ce
commit
8eceb6ef06
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in New Issue