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:
parent
444d80e178
commit
d5ca9a4a5c
2 changed files with 0 additions and 15 deletions
14
src/main.rs
14
src/main.rs
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue