fix: 添加Serde序列化支持以修复Tauri IPC错误
- 为 comfyui_sdk::ValidationResult 和 ValidationError 添加序列化支持 - 为 ConfigStats 和 Environment 类型添加序列化支持 - 为 ExecutionStats、MonitorStats、CacheStats 添加序列化支持 - 修复 Tauri 命令返回类型不满足 IpcResponse trait 的问题
This commit is contained in:
@@ -444,7 +444,7 @@ impl RealtimeMonitor {
|
||||
}
|
||||
|
||||
/// 监控统计信息
|
||||
#[derive(Debug, Clone)]
|
||||
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
|
||||
pub struct MonitorStats {
|
||||
pub is_running: bool,
|
||||
pub websocket_connected: bool,
|
||||
|
||||
Reference in New Issue
Block a user