From 5c92b202dd651f9098d063dcc411b04ef4c37f50 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 9 Sep 2026 12:59:09 +0800 Subject: [PATCH] =?UTF-8?q?feat(storefront):=20=E5=AE=9A=E4=BB=B7=E8=A6=81?= =?UTF-8?q?=E7=B4=A0=E8=A1=A8=E5=A4=B4=E6=B6=A6=E9=A5=B0=E8=A1=A5=E9=BD=90?= =?UTF-8?q?=E2=80=94=E2=80=94prompt=5Ftokens/hour/SR=20=E7=AD=89=E5=8C=BA?= =?UTF-8?q?=E9=97=B4=E7=BB=B4=E5=BA=A6=E4=B8=AD=E6=96=87=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 配合 pricing get_pricing_display 档位展开修复:区间定价模型(MiniMax-M3 按输入 长度分档、deepseek 忙闲时)的维度键 prompt_tokens/hour 会进表格表头, _DIM_LABEL_POLISH 补中文润饰(输入长度(tokens)/调用小时/分辨率)。 --- product_management/core.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/product_management/core.py b/product_management/core.py index 7313a22..b1fb36c 100644 --- a/product_management/core.py +++ b/product_management/core.py @@ -1299,6 +1299,8 @@ class ProductManager: _DIM_LABEL_POLISH = { 'resolution': '分辨率', 'type': '类型', 'size': '尺寸', 'quality': '质量', 'duration': '时长', 'style': '风格', + 'prompt_tokens': '输入长度(tokens)', 'total_tokens': '总长度(tokens)', + 'hour': '调用小时', 'SR': '分辨率', } # ppid_pairs 的通用挂载标签——对表格无区分度,不作为要素列 _GENERIC_PRICE_LABELS = ('', '按量', '容量')