mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-03-06 09:20:14 +00:00
FIX: Follow fix for missing claude tags in a7adce0 (#242)
This commit is contained in:
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…
x
Reference in New Issue
Block a user