From b0981974ddbae35b2535819ac9a5c84b1b52da5e Mon Sep 17 00:00:00 2001
From: Stephen D <webmaster@scd31.com>
Date: Fri, 7 Feb 2025 12:57:47 -0500
Subject: [PATCH] fix <think> tag in wrapper

---
 frontend.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/frontend.rb b/frontend.rb
index 36dcf31..b48f7ba 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
-- 
GitLab