testing thinking
This commit is contained in:
parent
ce3bc70838
commit
cc07b459c0
@ -189,6 +189,7 @@ class Pipeline:
|
|||||||
#thinking_block = delta["contentBlockIndex"]
|
#thinking_block = delta["contentBlockIndex"]
|
||||||
# yield '<thinking>\n'
|
# yield '<thinking>\n'
|
||||||
#print(f"Reasoning content: {delta['reasoningContent']}")
|
#print(f"Reasoning content: {delta['reasoningContent']}")
|
||||||
|
if "contentBlockIndex" in delta:
|
||||||
print(delta["contentBlockIndex"])
|
print(delta["contentBlockIndex"])
|
||||||
yield delta["reasoningContent"]["text"]
|
yield delta["reasoningContent"]["text"]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user