parent
a7adce0cf7
commit
4df258ce7d
|
@ -114,7 +114,7 @@ module DiscourseAi
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
Nokogiri::HTML5.fragment(response).at("ai").text.presence || response
|
Nokogiri::HTML5.fragment(response).at("ai")&.text.presence || response
|
||||||
end
|
end
|
||||||
|
|
||||||
def tokenizer
|
def tokenizer
|
||||||
|
|
Loading…
Reference in New Issue