feat: remove ModelUse and ModelAdd commands; update command handling and provider configuration

This commit is contained in:
asepharyana
2026-07-12 02:19:08 +07:00
parent 32155f8ea8
commit c948869d35
4 changed files with 14 additions and 68 deletions
-6
View File
@@ -61,12 +61,6 @@ pub fn apply_command(command: Command) -> Vec<Action> {
Command::ModelList => {
vec![Action::ModelList]
}
Command::ModelUse { provider } => {
vec![Action::ModelUse { provider }]
}
Command::ModelAdd { name, base_url } => {
vec![Action::ModelAdd { name, base_url }]
}
Command::Unknown(cmd) => {
vec![Action::SystemNote {
kind: "error".to_string(),