We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30b1d08 commit d297b30Copy full SHA for d297b30
1 file changed
crates/chat-cli/src/cli/chat/tool_manager.rs
@@ -858,13 +858,15 @@ impl ToolManager {
858
let still_loading = self.pending_clients.read().await.iter().cloned().collect::<Vec<_>>();
859
let _ = tx.send(LoadingMsg::Terminate { still_loading }).await;
860
}
861
- let _ = queue!(
862
- output,
863
- style::Print(
864
- "Not all mcp servers loaded. Configure no-interactive timeout with q settings mcp.noInteractiveTimeout"
865
- ),
866
- style::Print("\n------\n")
867
- );
+ if !self.clients.is_empty() {
+ let _ = queue!(
+ output,
+ style::Print(
+ "Not all mcp servers loaded. Configure no-interactive timeout with q settings mcp.noInteractiveTimeout"
+ ),
+ style::Print("\n------\n")
868
+ );
869
+ }
870
},
871
_ = server_loading_fut => {
872
if let Some(tx) = tx {
0 commit comments