File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4691,7 +4691,10 @@ async fn stream_with_provider(
46914691 } ,
46924692 ApiStreamEvent :: ContentBlockStop ( stop) => {
46934693 if let Some ( ( thinking, signature) ) = pending_thinking. remove ( & stop. index ) {
4694- events. push ( AssistantEvent :: Thinking { thinking, signature } ) ;
4694+ events. push ( AssistantEvent :: Thinking {
4695+ thinking,
4696+ signature,
4697+ } ) ;
46954698 }
46964699 if let Some ( ( id, name, input) ) = pending_tools. remove ( & stop. index ) {
46974700 events. push ( AssistantEvent :: ToolUse { id, name, input } ) ;
@@ -4859,7 +4862,10 @@ fn push_output_block(
48594862 if streaming_tool_input {
48604863 pending_thinking. insert ( block_index, ( thinking, signature) ) ;
48614864 } else {
4862- events. push ( AssistantEvent :: Thinking { thinking, signature } ) ;
4865+ events. push ( AssistantEvent :: Thinking {
4866+ thinking,
4867+ signature,
4868+ } ) ;
48634869 }
48644870 }
48654871 OutputContentBlock :: RedactedThinking { .. } => { }
You can’t perform that action at this time.
0 commit comments