Home
last modified time | relevance | path

Searched refs:tokenLimit (Results 1 – 1 of 1) sorted by relevance

/plugin/aichat/
H A Dhelper.php307 … * @param int $tokenLimit The maximum number of tokens to use, negative limit disables this check
311 protected function historyMessages(array $history, int $tokenLimit, int $sizeLimit): array argument
313 $remainingContext = $tokenLimit;
321 if ($tokenLimit > 0 && $length > $remainingContext) {