diff options
| author | sigoden <sigoden@gmail.com> | 2024-10-20 21:29:56 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-20 21:29:56 +0800 |
| commit | a165fd19e752e3a998dedfe640e9ec838c2737c6 (patch) | |
| tree | 252676ba49cdb00bdb90e86f58510b58a112f2a7 /src/repl/mod.rs | |
| parent | ac89b7ad6716a8af811089b130c2039627d47b48 (diff) | |
| download | aichat-a165fd19e752e3a998dedfe640e9ec838c2737c6.tar.gz | |
refactor: improve REPL (#940)
Diffstat (limited to 'src/repl/mod.rs')
| -rw-r--r-- | src/repl/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |
