summaryrefslogtreecommitdiffstats
path: root/src/repl/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/repl/mod.rs')
-rw-r--r--src/repl/mod.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/repl/mod.rs b/src/repl/mod.rs
index b04907c..26a3fb4 100644
--- a/src/repl/mod.rs
+++ b/src/repl/mod.rs
@@ -162,9 +162,6 @@ impl Repl {
println!("{}", output);
}
},
- ".edit" => {
- println!(r#"Deprecated. Use ::: instead."#);
- }
".model" => match args {
Some(name) => {
self.config.write().set_model(name)?;
@@ -198,9 +195,6 @@ impl Repl {
self.copy(config.last_reply())
.with_context(|| "Failed to copy the last output")?;
}
- ".read" => {
- println!(r#"Deprecated. Use '.file' instead."#);
- }
".file" => match args {
Some(args) => {
let (files, text) = match args.split_once(" -- ") {
@@ -229,12 +223,6 @@ impl Repl {
Some("messages") => {
self.config.write().clear_session_messages()?;
}
- Some("role") => {
- println!(r#"Deprecated. Use ".exit role" instead."#);
- }
- Some("conversation") => {
- println!(r#"Deprecated. Use ".exit session" instead."#);
- }
_ => unknown_command()?,
},
_ => unknown_command()?,