min_tokens_reached
Parameters:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
min_tokens_reached(messages: list[dict[str, Any]], min_tokens: int | None) -> bool
| Name | Description |
|---|---|
messages | A list of messages to check. Type: list[dict[str, typing.Any]] |
min_tokens | The minimum number of tokens to check for. Type: int | None |