From 43b713576d4f59e0fd38d7df63c552fd6edbbad7 Mon Sep 17 00:00:00 2001 From: Greg Hurrell Date: Fri, 19 Jul 2024 10:36:56 +0200 Subject: [PATCH] chore: remove debugging `println!` These cause the prompt file contents to show up in the editor, which isn't desirable. --- src/main.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 0a4f455..e49f564 100644 --- a/src/main.rs +++ b/src/main.rs @@ -71,13 +71,11 @@ fn structure_input() -> ChatRequest { let args: Vec = std::env::args().collect(); let system_prompt = if args.len() > 1 { let file_path = &args[1]; - println!("FILE {:?}", file_path); let mut file = File::open(file_path).unwrap_or_else(|_| { panic!("Failed to open file: {}", file_path); }); let mut contents = String::new(); file.read_to_string(&mut contents).unwrap(); - println!("contents {:?}", contents); contents } else { get_default_prompt()