testing thinking
This commit is contained in:
@@ -188,7 +188,8 @@ class Pipeline:
|
||||
yield '<thinking>\n'
|
||||
yield delta["reasoningContent"]["text"]
|
||||
|
||||
if "contentBlockStop" in chunk and chunk["contentBlockStop"]["contentBlockIndex"] == thinking_block:
|
||||
if "contentBlockStop" in chunk: # and chunk["contentBlockStop"]["contentBlockIndex"] == thinking_block:
|
||||
print("Thinking End")
|
||||
yield '</thinking>\n\n'
|
||||
|
||||
# Handle regular response text
|
||||
|
Reference in New Issue
Block a user