test(runtime): wire new pricing importers into pipeline smoke and catalog mapping

This commit is contained in:
phamnazage-jpg
2026-05-23 18:35:08 +08:00
parent e757cd2dd7
commit c32661fd2a
15 changed files with 299 additions and 144 deletions

View File

@@ -30,11 +30,11 @@ func parse360PricingCatalog(raw string) ([]officialPricingRecord, error) {
ProviderNameCn: providerNameCn,
ProviderCountry: providerCountry,
ProviderWebsite: providerWebsite,
OperatorName: "360 Open Platform",
OperatorName: "360 ZhiNao",
OperatorNameCn: "360 智脑开放平台",
OperatorCountry: "CN",
OperatorWebsite: "https://ai.360.com",
OperatorType: "relay",
OperatorWebsite: default360PricingURL,
OperatorType: "official",
Region: "CN",
Currency: "CNY",
InputPrice: mustParseSubscriptionPrice(match[3]),
@@ -43,7 +43,7 @@ func parse360PricingCatalog(raw string) ([]officialPricingRecord, error) {
SourceURL: default360PricingURL,
ModelSourceURL: default360PricingURL,
DateConfidence: "unknown",
DateSourceKind: "official_product_page",
DateSourceKind: "official_pricing",
Modality: detectModality(modelName),
}
record.IsFree = record.InputPrice == 0 && record.OutputPrice == 0