diff --git a/crates/goose-server/src/commands/agent.rs b/crates/goose-server/src/commands/agent.rs index 184dd288c6..5a091ba65d 100644 --- a/crates/goose-server/src/commands/agent.rs +++ b/crates/goose-server/src/commands/agent.rs @@ -61,7 +61,8 @@ pub async fn run() -> Result<()> { let tunnel_manager = app_state.tunnel_manager.clone(); tokio::spawn(async move { - tokio::time::sleep(tokio::time::Duration::from_millis(100)).await; + // Give time for GUI to render before doing autostart + tokio::time::sleep(tokio::time::Duration::from_secs(3)).await; tunnel_manager.check_auto_start().await; });