refactor: Deprecated old Config struct initialization logic

This commit is contained in:
2026-04-19 18:27:33 -06:00
parent c11eb352fe
commit 7facdce6b6
8 changed files with 387 additions and 54 deletions
+1
View File
@@ -63,6 +63,7 @@ impl Config {
}
}
#[allow(dead_code)]
pub fn to_request_context(&self, app: Arc<AppState>) -> RequestContext {
let mut mcp_runtime = super::tool_scope::McpRuntime::default();
if let Some(registry) = &self.mcp_registry {