mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-03-09 11:48:47 +00:00
DEV: Fix module namespace breaking reloads (#530)
This commit is contained in:
parent
fc6c3c81e7
commit
b327313115
@ -20,7 +20,10 @@ module DiscourseAi
|
||||
end
|
||||
|
||||
@related_topics ||=
|
||||
SemanticTopicQuery.new(@user).list_semantic_related_topics(topic).topics
|
||||
::DiscourseAi::Embeddings::SemanticTopicQuery
|
||||
.new(@user)
|
||||
.list_semantic_related_topics(topic)
|
||||
.topics
|
||||
end
|
||||
|
||||
%i[topic_view TopicViewPosts].each do |serializer|
|
||||
|
Loading…
x
Reference in New Issue
Block a user