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