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
a871b28f85
commit
60e72a6ed5
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)]
|
#[derive(Subcommand, Debug)]
|
||||||
enum ChannelCommands {
|
enum ChannelCommands {
|
||||||
/// List configured channels
|
/// List configured channels
|
||||||
|
|
|
||||||
|
|
@ -555,7 +555,6 @@ impl Tool for GitOperationsTool {
|
||||||
mod tests {
|
mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
use crate::security::SecurityPolicy;
|
use crate::security::SecurityPolicy;
|
||||||
use std::path::Path;
|
|
||||||
use tempfile::TempDir;
|
use tempfile::TempDir;
|
||||||
|
|
||||||
fn test_tool(dir: &std::path::Path) -> GitOperationsTool {
|
fn test_tool(dir: &std::path::Path) -> GitOperationsTool {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue