Dominik Schröter
|
de6292e1ee
|
fix: update token handling to return -1 for disabled limits in getAvailableTokensForContent and truncateContentByTokens functions
|
2025-02-02 15:57:32 +01:00 |
|
Dominik Schröter
|
62b58d6e3f
|
refactor: improve token handling in getAvailableTokensForContent and truncateContentByTokens functions
|
2025-02-02 15:54:16 +01:00 |
|
Dominik Schröter
|
8c0bb22d50
|
fix: handle errors in token counting and ensure chunk token limits are enforced
|
2025-01-27 13:34:12 +01:00 |
|
Dominik Schröter
|
b0737aab50
|
feat: add TOKEN_LIMIT environment variable for controlling maximum tokens in prompts
|
2025-01-27 13:08:37 +01:00 |
|