From a082364e34e33e23dad15d0d57d428d3ca6bbb2f Mon Sep 17 00:00:00 2001 From: jimi <1847930177@qq.com> Date: Tue, 10 Mar 2026 14:20:26 +0800 Subject: [PATCH] fix: simplify auto process titles and notices --- services/service_auto_image_pipeline.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/services/service_auto_image_pipeline.py b/services/service_auto_image_pipeline.py index 65bcdae..c454b44 100644 --- a/services/service_auto_image_pipeline.py +++ b/services/service_auto_image_pipeline.py @@ -84,14 +84,13 @@ def _build_upload_title(intent: str, analysis: Dict, requirement_text: str, idx: return f"{suggested}_{idx}" subject = _safe_name(str(analysis.get("subject") or ""), "") proc_type = _safe_name(str(analysis.get("proc_type") or ""), "") - requirement = _safe_name(str(requirement_text or ""), "") - action = "修复" if intent == "repair" else "原图" + action = "高清修复" if intent == "repair" else "找原图" - parts = [part for part in (subject, proc_type, requirement) if part] + parts = [part for part in (subject, proc_type) if part] if parts: base = "_".join(parts[:2]) else: - base = "图片识别结果" + base = "图片素材" return f"{base}_{action}_{idx}" @@ -187,7 +186,6 @@ class AutoImagePipelineService: "【AI自动转设计师】", f"店铺:{acc_id or '-'}", f"客户:{customer_id or '-'}", - f"设计师:{designer_name or '-'}", f"需求:{requirement_text or '-'}", f"类型:{'高清修复' if intent == 'repair' else '找原图'}", f"默认价格:{AUTO_PROCESS_PRICE}元", @@ -209,7 +207,6 @@ class AutoImagePipelineService: "【AI处理完成】", f"店铺:{acc_id or '-'}", f"客户:{customer_id or '-'}", - f"设计师:{designer_name or '-'}", f"默认价格:{AUTO_PROCESS_PRICE}元", ] if links: