From 6c05ab06117130d118c33678e05787bd9634932f Mon Sep 17 00:00:00 2001 From: jknapp Date: Sun, 16 Mar 2025 19:29:54 -0700 Subject: [PATCH] testing thinking --- claude_sonnet-3-7-bedrock.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/claude_sonnet-3-7-bedrock.py b/claude_sonnet-3-7-bedrock.py index b00b317..5c00f7d 100644 --- a/claude_sonnet-3-7-bedrock.py +++ b/claude_sonnet-3-7-bedrock.py @@ -183,8 +183,9 @@ class Pipeline: # Handle reasoning content (Chain of Thought) if "reasoningContent" in delta and "text" in delta["reasoningContent"]: - # if '"
' in delta["reasoningContent"]["text"]: - yield delta["reasoningContent"]["text"] + if '"
' in delta["reasoningContent"]["text"]: + yield "" + yield delta["reasoningContent"]["text"] # Handle regular response text if "text" in delta: