transforms_util
autogen.agentchat.contrib.capabilities.transforms_util.min_tokens_reached
min_tokens_reached
Returns True if the total number of tokens in the messages is greater than or equal to the specified value.
Name | Description |
---|---|
messages | A list of messages to check. Type: list[dict[str, typing.Any]] |
min_tokens | Type: int | None |