feat: 脚本执行显性输出当前阶段与 AI 模型供应商/名称

- pipeline.sh 每阶段 banner(━━━ M4 翻译+事件抽取(AI 大模型: deepseek / deepseek-v4-flash)━━━)
- ai_model_info() 从 system.yaml 读取场景模型(translation/daily_report/embedding)
- Python 层:M4/M5/日报 显性打印 provider/model(场景标注)
- 已同步 pi5 实测:客户端初始化日志含供应商/模型
This commit is contained in:
2026-08-12 11:20:51 +08:00
parent bdd936a3e4
commit 012cb615d3
7 changed files with 65 additions and 12 deletions
+2 -2
View File
@@ -100,8 +100,8 @@ def embed_all_events(
# 批量嵌入(按 batch_size 分块,每批输出进度)
batch_size = config.batch_size
total = len(articles)
logger.info("开始向量化 %d 篇文章(batch_size=%d, model=%s)",
total, batch_size, config.model)
logger.info("开始向量化 %d 篇文章(batch_size=%d, provider=%s, model=%s)",
total, batch_size, config.provider, config.model)
for batch_start in range(0, total, batch_size):
batch_end = min(batch_start + batch_size, total)