testing thinking
This commit is contained in:
parent
ce3bc70838
commit
cc07b459c0
@ -189,7 +189,8 @@ 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']}")
|
||||||
print(delta["contentBlockIndex"])
|
if "contentBlockIndex" in delta:
|
||||||
|
print(delta["contentBlockIndex"])
|
||||||
yield delta["reasoningContent"]["text"]
|
yield delta["reasoningContent"]["text"]
|
||||||
|
|
||||||
#if "contentBlockStop" in delta and delta["contentBlockStop"]["contentBlockIndex"] == thinking_block:
|
#if "contentBlockStop" in delta and delta["contentBlockStop"]["contentBlockIndex"] == thinking_block:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user