File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,7 +26,11 @@ fn fallback_agent_lifecycle_from_output(
2626 return None ;
2727 }
2828 state. emitted_tool_started = true ;
29- Some ( ( "tool_started" , "AgentProcessOutput" , r#"{"source":"agent_process_output"}"# ) )
29+ Some ( (
30+ "tool_started" ,
31+ "AgentProcessOutput" ,
32+ r#"{"source":"agent_process_output"}"# ,
33+ ) )
3034}
3135
3236fn fallback_agent_lifecycle_from_exit (
@@ -36,7 +40,11 @@ fn fallback_agent_lifecycle_from_exit(
3640 return None ;
3741 }
3842 state. emitted_turn_completed = true ;
39- Some ( ( "turn_completed" , "AgentProcessExit" , r#"{"source":"agent_process_exit"}"# ) )
43+ Some ( (
44+ "turn_completed" ,
45+ "AgentProcessExit" ,
46+ r#"{"source":"agent_process_exit"}"# ,
47+ ) )
4048}
4149
4250fn terminate_agent_runtime ( runtime : Arc < AgentRuntime > ) {
@@ -330,7 +338,10 @@ mod tests {
330338 r#"{"source":"agent_process_output"}"# ,
331339 ) ) ,
332340 ) ;
333- assert_eq ! ( fallback_agent_lifecycle_from_output( & mut state, "fixture-still-running\n " ) , None ) ;
341+ assert_eq ! (
342+ fallback_agent_lifecycle_from_output( & mut state, "fixture-still-running\n " ) ,
343+ None
344+ ) ;
334345 }
335346
336347 #[ test]
You can’t perform that action at this time.
0 commit comments