fix: 修复 M2.1 骨架编译错误 (import/match/AppConfig 字段)
This commit is contained in:
@@ -24,7 +24,7 @@ pub mod model_manager;
|
||||
|
||||
pub use chat::{ChatPipeline, SessionContext};
|
||||
|
||||
use crate::core::message::{Message, StateChanged};
|
||||
use crate::core::message::Message;
|
||||
use crate::core::plugin::*;
|
||||
use anyhow::Result;
|
||||
use std::path::PathBuf;
|
||||
@@ -137,7 +137,6 @@ impl Plugin for AiPlugin {
|
||||
if new_state == "talk" || old_state == "talk" {
|
||||
println!("[AiPlugin] 画面状态: {old_state} → {new_state}");
|
||||
}
|
||||
let _ = StateChanged { old_state, new_state }; // 抑制未用警告
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user