summaryrefslogtreecommitdiffstats
path: root/src/render/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/mod.rs')
-rw-r--r--src/render/mod.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/render/mod.rs b/src/render/mod.rs
index 938baad..001ae6c 100644
--- a/src/render/mod.rs
+++ b/src/render/mod.rs
@@ -16,7 +16,6 @@ use std::thread::spawn;
pub fn render_stream(
input: &str,
- prompt: Option<String>,
client: &ChatGptClient,
highlight: bool,
repl: bool,
@@ -43,7 +42,7 @@ pub fn render_stream(
drop(wg);
ReplyStreamHandler::new(None, abort)
};
- client.send_message_streaming(input, prompt, &mut stream_handler)?;
+ client.send_message_streaming(input, &mut stream_handler)?;
let buffer = stream_handler.get_buffer();
Ok(buffer.to_string())
}