DEV: Fix module namespace breaking reloads (#530)
This commit is contained in:
parent
fc6c3c81e7
commit
b327313115
|
@ -20,7 +20,10 @@ module DiscourseAi
|
||||||
end
|
end
|
||||||
|
|
||||||
@related_topics ||=
|
@related_topics ||=
|
||||||
SemanticTopicQuery.new(@user).list_semantic_related_topics(topic).topics
|
::DiscourseAi::Embeddings::SemanticTopicQuery
|
||||||
|
.new(@user)
|
||||||
|
.list_semantic_related_topics(topic)
|
||||||
|
.topics
|
||||||
end
|
end
|
||||||
|
|
||||||
%i[topic_view TopicViewPosts].each do |serializer|
|
%i[topic_view TopicViewPosts].each do |serializer|
|
||||||
|
|
Loading…
Reference in New Issue