Commit Graph

14 Commits

Author SHA1 Message Date
phamnazage-jpg
f5b373caf4 feat(report): improve daily intelligence UX and price tracking
Some checks failed
CI / go-test (push) Has been cancelled
CI / scripts-regression (push) Has been cancelled
CI / frontend-build (push) Has been cancelled
CI / docker-build (push) Has been cancelled
2026-05-27 17:23:08 +08:00
phamnazage-jpg
c32661fd2a test(runtime): wire new pricing importers into pipeline smoke and catalog mapping 2026-05-23 18:35:08 +08:00
phamnazage-jpg
e757cd2dd7 feat(importers): add official pricing importers for baichuan lingyiwanwu sensenova and xfyun 2026-05-23 18:34:57 +08:00
phamnazage-jpg
6fe3b484f1 feat(pricing): add cucloud and bytedance payg importers
Some checks failed
CI / go-test (push) Has been cancelled
CI / frontend-build (push) Has been cancelled
CI / docker-build (push) Has been cancelled
- Add import_cucloud_pricing.go for 联通云 payg 公开价抓取
- Add import_bytedance_pricing.go for 火山引擎/ByteDance Ark 定价导入
- Include test files and sample testdata for both importers
- Update plan catalog inventory docs and seeds
- Add cucloud pricing importer implementation plan
- Align pipeline scripts and smoke gate tests
2026-05-22 15:28:13 +08:00
phamnazage-jpg
5c5578a19b feat(region_pricing): 扩展非 token 统一计费字段,支持语音按字符/秒计费
Some checks failed
CI / go-test (push) Has been cancelled
CI / frontend-build (push) Has been cancelled
CI / docker-build (push) Has been cancelled
- 新增 region_pricing.pricing_mode / price_unit / flat_price 字段
- 新增 migration 016_region_pricing_non_token_units.sql
- officialPricingRecord 新增 PricingMode/PriceUnit/FlatPrice 字段
- detectModality 新增 audio 模态检测(voice/audio/speech)
- providerMetadata 新增 BAAI/ByteDance/China Mobile 元数据
- import_mobile_cloud_pricing.go: 解析语音计费表(CosyVoice/SenseVoice)
  - CosyVoice: 2元/万字符 → pricingMode=flat, priceUnit=10k_characters
  - SenseVoice: 0.0007元/秒 → pricingMode=flat, priceUnit=second
- mobileCloudProviderName 新增 cosyvoice/sensevoice → Alibaba 映射
- cmd/server: modelResponse 新增 pricingMode/priceUnit/flatPrice,API 字段说明同步更新
- 新增 TestModelsHandlerReturnsFlatPricingFields 测试
2026-05-22 14:51:38 +08:00
phamnazage-jpg
6c3569fb65 feat(pricing): add qwen hunyuan and huawei maas payg importers
Some checks failed
CI / go-test (push) Has been cancelled
CI / frontend-build (push) Has been cancelled
CI / docker-build (push) Has been cancelled
2026-05-22 12:13:54 +08:00
phamnazage-jpg
8d1312203f feat(import): extend CTYun subscription collector
- ctyun_subscription_lib.go: extend CTYun subscription data extraction
- import_ctyun_subscription_test.go: update tests for CTYun
- ctyun_token_plan_sample.txt: updated test fixture
2026-05-22 07:33:38 +08:00
phamnazage-jpg
0de4402a11 feat(import): add CoreHub pricing collector and importer
- coreshub_pricing_lib.go: CoreHub pricing data extraction and parsing
- import_coreshub_pricing.go: importer with dry_run support
- import_coreshub_pricing_test.go: unit tests for importer
- coreshub_pricing_sample.txt: test fixture
2026-05-22 07:33:13 +08:00
phamnazage-jpg
0ee181a4a7 fix(tencent): detect promotional token plans
Relax the Tencent catalog plan matcher so monthly promotional plans are parsed by structure instead of a hard-coded plan-name list.

This keeps first-month promotional packages in the catalog and adds a regression sample plus parser test coverage.
2026-05-15 22:41:02 +08:00
phamnazage-jpg
256975e10c feat(audit): add pricing signature guards and reporting
Add snapshot, signature, and drift guard support for Vertex AI, Cloudflare Workers AI, and Perplexity API, backed by a queryable audit table and recent-window view.

This commit also wires the audit query layer into daily signal materialization and report generation so structure drift becomes a first-class signal instead of a log-only artifact.
2026-05-15 22:34:22 +08:00
phamnazage-jpg
958245537a feat(imports): add real pricing and subscription collectors
Add plan catalog and subscription schema support, seed baselines, and real importers for core domestic subscriptions plus stable official pricing sources.

This commit also hardens the shared fetch layers so the importers can support live collection and database writes instead of relying on manual placeholders alone.
2026-05-15 22:32:57 +08:00
phamnazage-jpg
618dff33da feat(report): close v2 headline and coverage gaps 2026-05-14 10:23:13 +08:00
phamnazage-jpg
77e6610fd2 chore: prepare repository for publishing
Some checks failed
CI / test (push) Has been cancelled
2026-05-13 14:42:45 +08:00
Your Name
ba054f04cf feat(phase1): OpenRouter采集器接入PostgreSQL,数据链路闭环
- 将 fetch_openrouter.go 的 summarize() 实现为 PostgreSQL upsert
- 新增 -db 参数和 DATABASE_URL 环境变量支持
- 打通 models + model_prices 表的最小可运行链路
- 创建 llm_intelligence 数据库并运行 migration
- 前端 Explorer 验证 T-3.2~T-3.5 全部通过
- 日报生成器正常产出 Markdown 和 latest_models.json
2026-05-08 13:49:12 +08:00