do not print "Contacting DuckDuckGo chat AI..." on each run

This commit is contained in:
b1ek 2024-10-22 14:14:25 +10:00
parent a432cddf79
commit 5f4e811e6f
Signed by: blek
GPG Key ID: A622C22C9BC616B2
1 changed files with 1 additions and 3 deletions

View File

@ -41,7 +41,7 @@ async fn main() {
let args = Args::parse(); let args = Args::parse();
let query = args.query.join(" ").trim().to_string(); let query = args.query.join(" ").trim().to_string();
{ {
let session = Session::create_or_restore(""); let session = Session::create_or_restore("");
if session.is_restored() { if session.is_restored() {
@ -64,8 +64,6 @@ async fn main() {
config.check_tos(); config.check_tos();
println!("{GREEN}Contacting DuckDuckGo chat AI...{RESET}");
let cli = Client::new(); let cli = Client::new();
simulate_browser_reqs(&cli).await.unwrap(); simulate_browser_reqs(&cli).await.unwrap();