Ty Correll 87c591bbc2
UX: unify ai representing icon (#257)
This PR addresses the effort to use one icon representing discourse-ai.

Removed discourse-sparkles from discourse-ai, now included in core ``vendor/assets/svg-icons/discourse-additional.svg``
2023-10-19 17:31:56 -05:00

22 lines
560 B
Ruby

# frozen_string_literal: true
module DiscourseAi
module AiHelper
class EntryPoint
def load_files
require_relative "llm_prompt"
require_relative "semantic_categorizer"
require_relative "painter"
end
def inject_into(plugin)
plugin.register_seedfu_fixtures(
Rails.root.join("plugins", "discourse-ai", "db", "fixtures", "ai_helper"),
)
additional_icons = %w[spell-check language]
additional_icons.each { |icon| plugin.register_svg_icon(icon) }
end
end
end
end