feat: remove ModelUse and ModelAdd commands; update command handling and provider configuration
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user