do not print "Contacting DuckDuckGo chat AI..." on each run
This commit is contained in:
parent
a432cddf79
commit
5f4e811e6f
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue