klyn.llm.LLMContextUsage.bound
method
public static bound(tokens as Long) as Int
Description

Bounds an accumulated estimate without integer overflow.

Example

tokens = LLMContextUsage.bound(100000l)