fix(main): remove duplicate ModelCommands enum definition

A duplicate ModelCommands enum was introduced in a recent merge,
causing E0119/E0428 compile errors on CI (Rust 1.92).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
fettpl 2026-02-16 16:57:00 +01:00
parent a871b28f85
commit 60e72a6ed5
2 changed files with 0 additions and 15 deletions

View file

@ -272,20 +272,6 @@ enum ModelCommands {
},
}
#[derive(Subcommand, Debug)]
enum ModelCommands {
/// Refresh and cache provider models
Refresh {
/// Provider name (defaults to configured default provider)
#[arg(long)]
provider: Option<String>,
/// Force live refresh and ignore fresh cache
#[arg(long)]
force: bool,
},
}
#[derive(Subcommand, Debug)]
enum ChannelCommands {
/// List configured channels

View file

@ -555,7 +555,6 @@ impl Tool for GitOperationsTool {
mod tests {
use super::*;
use crate::security::SecurityPolicy;
use std::path::Path;
use tempfile::TempDir;
fn test_tool(dir: &std::path::Path) -> GitOperationsTool {