Restore original tool confirmation setting
(original: bool)
| 441 | |
| 442 | /// Restore original tool confirmation setting |
| 443 | async fn restore_tool_confirmation(original: bool) { |
| 444 | if let Ok(svc) = bitfun_core::service::config::get_global_config_service().await { |
| 445 | let _ = svc.set_config("ai.skip_tool_confirmation", original).await; |
| 446 | } |
| 447 | } |
| 448 | |
| 449 | /// Shutdown MCP servers gracefully |
| 450 | async fn shutdown_mcp_servers() { |
no test coverage detected