mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-07 16:18:29 +08:00
H1/H2: bill search and voice with code defaults when group prices are nil (explicit 0 remains free); bump API key auth snapshot to v19 and refresh incomplete media/search/audio projections. M1–M6: free-quota soft gate fails open on cache miss with background refresh and 60s default TTL; correct password_auth config docs; default cross-client model map to true (→ grok-4.5); audit /tts and /web_search; exclude composite from migration 220 video-price clears; never let a search surcharge mask token pricing failures.
6 lines
399 B
SQL
6 lines
399 B
SQL
-- Grok Voice 显式定价:realtime / TTS / STT。
|
|
-- NULL = 使用代码默认单价;显式 0 = 免费;>0 = 分组覆盖价。
|
|
ALTER TABLE groups ADD COLUMN IF NOT EXISTS audio_realtime_price_per_min DECIMAL(20,8);
|
|
ALTER TABLE groups ADD COLUMN IF NOT EXISTS audio_tts_price_per_million_chars DECIMAL(20,8);
|
|
ALTER TABLE groups ADD COLUMN IF NOT EXISTS audio_stt_price_per_hour DECIMAL(20,8);
|