LibreChat/packages
Danny Avila 9ab29a9b29
refactor(agents): token counting for media content in messages
Introduced a new method to estimate token costs for image and document blocks in messages, improving the accuracy of token counting. This enhancement ensures that media content is properly accounted for, particularly for the Claude model, by integrating additional token estimation logic for various content types. Updated the token counting function to utilize this new method, enhancing overall reliability and functionality.
2026-03-15 14:26:44 -04:00
..
api refactor(agents): token counting for media content in messages 2026-03-15 14:26:44 -04:00
client v0.8.3 (#12161) 2026-03-09 15:19:57 -04:00
data-provider refactor(config): update summarizationTriggerSchema to use enum for type validation 2026-03-11 22:50:59 -04:00
data-schemas chore: remove duplicate IBalanceUpdate interface declaration 2026-03-11 22:32:32 -04:00