fix: hide cache prices on model card, show only input and output prices

This commit is contained in:
xiezhouwei 2026-06-23 11:15:24 +08:00
parent a93c04ce28
commit 648c9917ab
1 changed files with 20 additions and 19 deletions

View File

@ -557,25 +557,26 @@ const PricingCardView = ({
}); });
} }
if (cache) { // /
items.push({ // if (cache) {
key: 'cache', // items.push({
label: t('缓存读取价格'), // key: 'cache',
value: cache.single || `${cache.symbol}${cache.min} ~ ${cache.symbol}${cache.max}`, // label: t(''),
suffix: unitSuffix, // value: cache.single || `${cache.symbol}${cache.min} ~ ${cache.symbol}${cache.max}`,
original: original?.cache, // suffix: unitSuffix,
}); // original: original?.cache,
} // });
// }
if (createCache) { //
items.push({ // if (createCache) {
key: 'create-cache', // items.push({
label: t('缓存创建价格'), // key: 'create-cache',
value: createCache.single || `${createCache.symbol}${createCache.min} ~ ${createCache.symbol}${createCache.max}`, // label: t(''),
suffix: unitSuffix, // value: createCache.single || `${createCache.symbol}${createCache.min} ~ ${createCache.symbol}${createCache.max}`,
original: original?.createCache, // suffix: unitSuffix,
}); // original: original?.createCache,
} // });
// }
} }
if (videoFlat) { if (videoFlat) {