Skip to content
Snippets Groups Projects
Commit b0981974 authored by Stephen D's avatar Stephen D
Browse files

fix <think> tag in wrapper

parent 83c9bf27
No related branches found
No related tags found
No related merge requests found
......@@ -35,6 +35,7 @@ Thread.new do
if c == "\n"
if cur_line.include?('<think>')
thinks = 0
puts "<think>"
elsif cur_line.include?('</think>')
thinks = nil
puts "\n</think>" # now we have 2 newlines
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment