testing thinking
This commit is contained in:
parent
a5c9244f1e
commit
6f51d5577c
@ -189,7 +189,7 @@ class Pipeline:
|
||||
yield '<thinking>\n'
|
||||
yield delta["reasoningContent"]["text"]
|
||||
|
||||
if "contentBlockStop" in delta and delta["contentBlockStop"]["contentBlockIndex"] == thinking_block:
|
||||
if "contentBlockStop" in chunk and chunk["contentBlockStop"]["contentBlockIndex"] == thinking_block:
|
||||
yield '</thinking>\n\n'
|
||||
|
||||
# Handle regular response text
|
||||
|
Loading…
x
Reference in New Issue
Block a user