优化: 清理无意义注释(走查编号前缀/过时历史标注/死代码注释)
This commit is contained in:
@@ -165,7 +165,7 @@ pub(super) async fn maybe_auto_compress(
|
||||
String::new()
|
||||
};
|
||||
|
||||
// L0-3:保护区外无 active 可压缩(active_msgs 空)→ noop,同步复位 is_compressing
|
||||
// 保护区外无 active 可压缩(active_msgs 空)→ noop,同步复位 is_compressing
|
||||
// 后返回(不 spawn 空任务)。对齐原 Ok(None) 分支语义。
|
||||
if active_msgs.is_empty() {
|
||||
session_arc.lock().await.conv(&conv_id).messages.set_compressing(false);
|
||||
|
||||
Reference in New Issue
Block a user