testing thinking
This commit is contained in:
parent
7607b46854
commit
c687c8e4ce
@ -198,5 +198,5 @@ class Pipeline:
|
||||
reasoning = block["reasoningContent"]["reasoningText"]["text"]
|
||||
if "text" in block:
|
||||
text = block["text"]
|
||||
combined_text = f"<thinking> \n {reasoning} \n </<thinking></details> \n\n <details>{text}"
|
||||
combined_text = f'<details type="reasoning" done="false">\n<summary>Thinking…</summary>\n{reasoning}\n</details>\n\n {text}'
|
||||
return combined_text
|
Loading…
x
Reference in New Issue
Block a user