From a165fd19e752e3a998dedfe640e9ec838c2737c6 Mon Sep 17 00:00:00 2001 From: sigoden Date: Sun, 20 Oct 2024 21:29:56 +0800 Subject: refactor: improve REPL (#940) --- src/repl/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/repl/mod.rs') diff --git a/src/repl/mod.rs b/src/repl/mod.rs index 735ad25..6b026b5 100644 --- a/src/repl/mod.rs +++ b/src/repl/mod.rs @@ -162,9 +162,9 @@ lazy_static::lazy_static! { "Regenerate the last response", AssertState::pass() ), + ReplCommand::new(".copy", "Copy the last response", AssertState::pass()), ReplCommand::new(".set", "Adjust runtime configuration", AssertState::pass()), ReplCommand::new(".delete", "Delete roles/sessions/RAGs/agents", AssertState::pass()), - ReplCommand::new(".copy", "Copy the last response", AssertState::pass()), ReplCommand::new(".exit", "Exit the REPL", AssertState::pass()), ]; static ref COMMAND_RE: Regex = Regex::new(r"^\s*(\.\S*)\s*").unwrap(); -- cgit v1.2.3