mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-06-28 18:42:16 +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
|
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…
x
Reference in New Issue
Block a user