refactor: Deprecated old Config struct initialization logic

This commit is contained in:
2026-04-19 18:27:33 -06:00
parent ff42460cb4
commit 1259c6865f
8 changed files with 387 additions and 54 deletions
-2
View File
@@ -45,7 +45,6 @@ pub struct AppState {
pub config: Arc<AppConfig>,
pub vault: GlobalVault,
pub mcp_factory: Arc<McpFactory>,
#[allow(dead_code)]
pub rag_cache: Arc<RagCache>,
pub mcp_config: Option<McpServersConfig>,
pub mcp_log_path: Option<PathBuf>,
@@ -54,7 +53,6 @@ pub struct AppState {
}
impl AppState {
#[allow(dead_code)]
pub async fn init(
config: Arc<AppConfig>,
log_path: Option<PathBuf>,