File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
crates/chat-cli/src/cli/chat Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -855,8 +855,7 @@ impl ToolManager {
855855 let still_loading = self . pending_clients. read( ) . await . iter( ) . cloned( ) . collect:: <Vec <_>>( ) ;
856856 let _ = tx. send( LoadingMsg :: Terminate { still_loading } ) . await ;
857857 }
858- error!( "## timeout: timed out" ) ;
859- if !self . clients. is_empty( ) {
858+ if !self . clients. is_empty( ) && !self . is_interactive {
860859 let _ = queue!(
861860 output,
862861 style:: Print (
@@ -867,14 +866,12 @@ impl ToolManager {
867866 }
868867 } ,
869868 _ = server_loading_fut => {
870- error!( "## timeout: server load finish" ) ;
871869 if let Some ( tx) = tx {
872870 let still_loading = self . pending_clients. read( ) . await . iter( ) . cloned( ) . collect:: <Vec <_>>( ) ;
873871 let _ = tx. send( LoadingMsg :: Terminate { still_loading } ) . await ;
874872 }
875873 }
876874 _ = ctrl_c( ) => {
877- error!( "## timeout: ctrl c" ) ;
878875 if self . is_interactive {
879876 if let Some ( tx) = tx {
880877 let still_loading = self . pending_clients. read( ) . await . iter( ) . cloned( ) . collect:: <Vec <_>>( ) ;
You can’t perform that action at this time.
0 commit comments