CaIon
f5b409d74f
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
..
2025-10-11 15:30:09 +08:00
2025-10-11 15:30:09 +08:00
2025-12-02 21:34:39 +08:00
2025-11-30 16:21:12 +08:00
2025-10-11 15:30:09 +08:00
2025-11-22 19:06:53 +08:00
2025-11-19 14:34:30 +08:00
2025-10-30 21:16:42 +08:00
2025-03-15 19:10:12 +08:00
2025-11-16 14:50:59 +08:00
2025-10-11 15:30:09 +08:00
2025-10-11 15:30:09 +08:00
2025-11-22 19:06:53 +08:00
2025-10-11 15:30:09 +08:00
2025-10-11 15:30:09 +08:00
2025-10-11 15:30:09 +08:00
2025-11-13 18:44:18 +08:00
2025-10-11 15:30:09 +08:00
2025-11-22 19:06:53 +08:00
2025-10-11 15:30:09 +08:00
2025-10-30 21:16:42 +08:00
2025-10-11 15:30:09 +08:00
2025-10-28 23:25:43 +08:00
2025-10-11 15:30:09 +08:00
2025-10-11 15:30:09 +08:00
2025-10-11 15:30:09 +08:00
2025-12-02 21:34:39 +08:00
2025-10-11 15:30:09 +08:00
2025-10-11 15:30:09 +08:00
2025-07-21 21:38:53 +08:00
2025-11-14 11:55:43 +08:00
2025-10-11 15:30:09 +08:00
2025-10-11 15:30:09 +08:00
2025-10-11 15:30:09 +08:00
2025-10-28 13:23:10 +01:00
2025-10-30 13:41:52 +08:00
2025-10-20 22:36:33 +08:00
2025-10-11 15:30:09 +08:00
2025-10-11 15:30:09 +08:00
2025-10-11 15:30:09 +08:00
2025-11-22 18:38:24 +08:00
2025-10-11 15:30:09 +08:00
2025-10-31 15:29:17 +08:00
2025-11-28 13:11:31 +08:00
2025-10-11 15:30:09 +08:00