fix: remove unused imports and resolve config module conflicts

Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
This commit is contained in:
Andrew Phillips
2025-08-15 16:39:11 -03:00
parent 56f4d8aad5
commit b6389419c0
10 changed files with 44 additions and 34 deletions

View File

@@ -2,7 +2,7 @@ use anyhow::Result;
use axum::{
Router,
};
use clap::Command;
use clap::{Command, Parser};
use log::{debug, info, warn};
use std::net::SocketAddr;
use std::path::PathBuf;
@@ -11,6 +11,7 @@ use tokio::sync::Mutex;
use tower_http::cors::CorsLayer;
use tower::ServiceBuilder;
use tower_http::trace::TraceLayer;
use crate::config;
pub mod common;
mod api;
@@ -20,8 +21,8 @@ pub use common::{ServerConfig, AppState, logging_middleware, create_auth_middlew
pub fn mode_server(
_cmd: &mut Command,
settings: &crate::config::Settings,
config: &crate::config::Config,
settings: &config::Settings,
config: &config::Config,
conn: &mut rusqlite::Connection,
data_path: PathBuf,
) -> Result<()> {