diff --git a/frontend.rb b/frontend.rb
index 36dcf310090315476e83ad2359d8254cdfd31b36..b48f7bafd0cb876db6016386b15adbdbf2f63c50 100755
--- a/frontend.rb
+++ b/frontend.rb
@@ -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