From 26051de160b83fbcfb1d47c2b51cbb36c56b2ffb Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Wed, 24 May 2023 11:08:00 -0600 Subject: [PATCH] Clean up --- crates/ai/src/ai.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/crates/ai/src/ai.rs b/crates/ai/src/ai.rs index ed35b9abb9..4aa4cd9b18 100644 --- a/crates/ai/src/ai.rs +++ b/crates/ai/src/ai.rs @@ -164,8 +164,6 @@ impl Assistant { let snapshot = buffer.snapshot(cx); // Take a new snapshot after editing. let insertion_site = snapshot.anchor_after(snapshot.len() - 2); - println!("{}", user_message); - (user_message, insertion_site) }); @@ -189,8 +187,6 @@ impl Assistant { "\n\nAlso consider the following user-defined system prompt:\n\n", ); // TODO: Replace this with our file system trait object. - // What you could bind dependencies on an action when you bind it?. - dbg!("reading from {:?}", &custom_system_message_path); system_message.push_str( &cx.background() .spawn(async move { fs::read_to_string(custom_system_message_path) }) @@ -317,6 +313,3 @@ async fn stream_completion( )) } } - -#[cfg(test)] -mod tests {}