Commit Graph

9 Commits

Author SHA1 Message Date
CaIon
1fededceb3 feat: refactor token estimation logic
- Introduced new OpenAI text models in `common/model.go`.
- Added `IsOpenAITextModel` function to check for OpenAI text models.
- Refactored token estimation methods across various channels to use estimated prompt tokens instead of direct prompt token counts.
- Updated related functions and structures to accommodate the new token estimation approach, enhancing overall token management.
2025-12-02 21:34:39 +08:00
feitianbubu
fd6cd838f7 refactor: clean up doubao tts code 2025-10-22 17:06:13 +08:00
feitianbubu
828bb17d2c feat: doubao tts add is stream check 2025-10-22 13:39:16 +08:00
feitianbubu
23c22708f2 feat: doubao tts support streaming realtime audio 2025-10-22 13:39:16 +08:00
feitianbubu
13362887dd fix: doubao audio speedRadio to speed 2025-10-18 01:48:36 +08:00
IcedTangerine
319680d052 Fix error message for invalid API key format 2025-10-18 00:13:28 +08:00
feitianbubu
0952631fa2 feat: add doubao tts usage token 2025-10-17 22:06:45 +08:00
feitianbubu
1be4e12ca0 feat: switch to official TTS only when baseUrl is Volcano's official URL 2025-10-17 22:06:45 +08:00
feitianbubu
f052f8ba22 feat: add doubao audio tts 2025-10-17 22:06:45 +08:00