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: