From 5f4e811e6f8b12239d0bcd126ce5f1b22e24cc25 Mon Sep 17 00:00:00 2001 From: b1ek Date: Tue, 22 Oct 2024 14:14:25 +1000 Subject: [PATCH] do not print "Contacting DuckDuckGo chat AI..." on each run --- src/main.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index a1e6569..8f1ca8f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -41,7 +41,7 @@ async fn main() { let args = Args::parse(); let query = args.query.join(" ").trim().to_string(); - + { let session = Session::create_or_restore(""); if session.is_restored() { @@ -64,8 +64,6 @@ async fn main() { config.check_tos(); - println!("{GREEN}Contacting DuckDuckGo chat AI...{RESET}"); - let cli = Client::new(); simulate_browser_reqs(&cli).await.unwrap();