testing thinking
This commit is contained in:
		@@ -183,7 +183,8 @@ class Pipeline:
 | 
				
			|||||||
                
 | 
					                
 | 
				
			||||||
                # Handle reasoning content (Chain of Thought)
 | 
					                # Handle reasoning content (Chain of Thought)
 | 
				
			||||||
                if "reasoningContent" in delta and "text" in delta["reasoningContent"]:
 | 
					                if "reasoningContent" in delta and "text" in delta["reasoningContent"]:
 | 
				
			||||||
                   # if '"<details type="reasoning" done="false">' in delta["reasoningContent"]["text"]:
 | 
					                   if '"<details type="reasoning" done="false">' in delta["reasoningContent"]["text"]:
 | 
				
			||||||
 | 
					                     yield "<thinking>" 
 | 
				
			||||||
                   yield delta["reasoningContent"]["text"]
 | 
					                   yield delta["reasoningContent"]["text"]
 | 
				
			||||||
                
 | 
					                
 | 
				
			||||||
                # Handle regular response text
 | 
					                # Handle regular response text
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user