mirror of
https://github.com/Niko1221/Strata.git
synced 2026-11-07 14:21:06 -10:00
The reader was clamped only when the config carried vision.max_tokens; an old, hand-edited or migrated config left it unclamped and one picture became 93,700 image tokens. Vision.token_limit gives every reader a limit (GPU 1024, CPU 300, the numbers setup writes) unless the config names one (a value the person set is kept, 0 still means none). strata-vision refuses a picture that comes back over the limit plus an eighth with a plain ERR instead of passing 90 times the budget on, and prints a WARNING when its own warm-up picture is over it. The server logs a picture that is more than 4 times the limit with the numbers to send with a report.