Skip to content

armgit / uzu

Public Imported from GitHub
0

A high-performance inference engine for AI models

Add /quit command (#840)

Aleksandr Golokozce752b6b0b1b
diff --git a/crates/legacy/cli/src/interactive/components/application.rs b/crates/legacy/cli/src/interactive/components/application.rs
index 09a7856f4..c0f784c12 100644
--- a/crates/legacy/cli/src/interactive/components/application.rs
+++ b/crates/legacy/cli/src/interactive/components/application.rs
@@ -131,7 +131,8 @@ pub fn Application(
.register("model", "Choose the model", false, || Box::new(ModelRegistriesFlow))
.register("settings", "Configure thinking and sampling", true, || Box::new(SettingsFlow))
.register("theme", "Choose the theme", false, || Box::new(ThemeFlow))
- .register("exit", "Exit the CLI", false, || Box::new(ExitFlow)),
+ .register("exit", "Exit the CLI", false, || Box::new(ExitFlow))
+ .register("quit", "Exit the CLI", false, || Box::new(ExitFlow)),
model_state: None,
});
let (width, _) = hooks.use_terminal_size();