优化: 清理无意义注释(走查编号前缀/过时历史标注/死代码注释)
This commit is contained in:
@@ -8,7 +8,7 @@ use tokio::sync::Mutex;
|
||||
use df_ai::provider::{ChatMessage, CompletionRequest, LlmProvider, MessageRole};
|
||||
// F-01 阶段5: 标题生成路由 — TaskRequirements(无需工具)。
|
||||
// 标题是短文本摘要任务;池空/无匹配兜底 default_model(行为不变)。
|
||||
// 注:路由已解耦(B-260618-03),原 Lite/Low 智力成本约束已删除,纯 weight 选模型。
|
||||
// 注:路由已解耦,原 Lite/Low 智力成本约束已删除,纯 weight 选模型。
|
||||
use df_ai::router::{
|
||||
is_likely_image_model, select_model_id, Modality, TaskRequirements,
|
||||
};
|
||||
@@ -121,7 +121,7 @@ pub(crate) async fn ensure_conversation_title(
|
||||
);
|
||||
return;
|
||||
}
|
||||
// B-260617-17: LLM 调用包 20s 超时,防信号量/网络挂起致后台 task 永久堆积;
|
||||
// LLM 调用包 20s 超时,防信号量/网络挂起致后台 task 永久堆积;
|
||||
// 超时或返回 None 均保留上方已落的 extract 兜底,不覆盖。
|
||||
let title = match tokio::time::timeout(
|
||||
std::time::Duration::from_secs(20),
|
||||
|
||||
Reference in New Issue
Block a user