testing thinking
This commit is contained in:
parent
0f7c22e3aa
commit
64b2254f09
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user