Home
last modified time | relevance | path

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

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