testing thinking

This commit is contained in:
jknapp 2025-03-16 20:28:51 -07:00
parent ce3bc70838
commit cc07b459c0

View File

@ -189,6 +189,7 @@ class Pipeline:
#thinking_block = delta["contentBlockIndex"]
# yield '<thinking>\n'
#print(f"Reasoning content: {delta['reasoningContent']}")
if "contentBlockIndex" in delta:
print(delta["contentBlockIndex"])
yield delta["reasoningContent"]["text"]