IanShaw027
|
678eb22a40
|
fix: Realtime 仅在观察到音频后计费,并修正标志位求值顺序
原先 elapsed>0 就出账,握手失败也会扣费;随后用 audioObserved,
但又在同一个 return 里先 Load 再收 errCh,标志位恒为 false,会话全部漏计。
- 先等中继结束再读 audioObserved
- 无音频或零时长不出账;每次连接独立 request id
|
2026-08-13 08:38:10 +08:00 |
|
IanShaw027
|
35faaa6d21
|
feat(grok): register custom-voices CRUD and audio download gateway routes
Forward list/get/patch/delete and reference-audio paths with safe path segment
encoding, method passthrough, and empty-body GET/DELETE handling.
|
2026-08-08 08:48:38 +08:00 |
|
IanShaw027
|
99ad01f6de
|
feat(grok): 网关 Voice TTS/STT/Realtime 与分组音频定价
- 中继 xAI Voice HTTP(/tts /stt /custom-voices)与 Realtime WS(/realtime)
仅 Grok 分组可用;账号选调度沿用 chat 能力,不依赖创作中心
- Voice URL 固定走 api.x.ai(CLI proxy base 自动回落)
- 分组级 audio_realtime / TTS / STT 单价:schema + migration 218 +
admin API + GroupsView 表单与 i18n(无创作中心 UI)
|
2026-08-07 15:08:39 +08:00 |
|