File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4716,7 +4716,10 @@ async fn stream_with_provider(
47164716 } ,
47174717 ApiStreamEvent :: ContentBlockStop ( stop) => {
47184718 if let Some ( ( thinking, signature) ) = pending_thinking. remove ( & stop. index ) {
4719- events. push ( AssistantEvent :: Thinking { thinking, signature } ) ;
4719+ events. push ( AssistantEvent :: Thinking {
4720+ thinking,
4721+ signature,
4722+ } ) ;
47204723 }
47214724 if let Some ( ( id, name, input) ) = pending_tools. remove ( & stop. index ) {
47224725 events. push ( AssistantEvent :: ToolUse { id, name, input } ) ;
@@ -4884,7 +4887,10 @@ fn push_output_block(
48844887 if streaming_tool_input {
48854888 pending_thinking. insert ( block_index, ( thinking, signature) ) ;
48864889 } else {
4887- events. push ( AssistantEvent :: Thinking { thinking, signature } ) ;
4890+ events. push ( AssistantEvent :: Thinking {
4891+ thinking,
4892+ signature,
4893+ } ) ;
48884894 }
48894895 }
48904896 OutputContentBlock :: RedactedThinking { .. } => { }
You can’t perform that action at this time.
0 commit comments