testing thinking
This commit is contained in:
parent
8692d2f2e4
commit
4ef3d59bcb
@ -186,7 +186,7 @@ class Pipeline:
|
|||||||
if "reasoningContent" in delta and "text" in delta["reasoningContent"]:
|
if "reasoningContent" in delta and "text" in delta["reasoningContent"]:
|
||||||
if not thinking_start:
|
if not thinking_start:
|
||||||
thinking_start = True
|
thinking_start = True
|
||||||
yield "\n<Thinking>\n\n"
|
yield '<details type="reasoning" done="true">\n<summary>Thinking…</summary>\n'
|
||||||
print(f"Reasoning content: {delta['reasoningContent']}")
|
print(f"Reasoning content: {delta['reasoningContent']}")
|
||||||
yield delta["reasoningContent"]["text"]
|
yield delta["reasoningContent"]["text"]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user