TokenLimitReachedException::getMaxTokens(): int|null

In this article

Returns the token limit that was reached, if known.

Return

int|null The token limit, or null if not provided.

Source

public function getMaxTokens(): ?int
{
    return $this->maxTokens;
}

Changelog

VersionDescription
1.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.