refactor: Deprecated old Config struct initialization logic
This commit is contained in:
1 parent
ff42460cb4
commit
1259c6865f
8 files changed
+387
-54
No files matched your search
@@ -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>,
|
||||
|
||||
Reference in new issue
Block a user