tinker_cookbook.tokenizer_utils.TmlTokenizer
class tinker_cookbook.tokenizer_utils.TmlTokenizer(Protocol)
Structural type for the underlying tml_renderers tokenizer.
Cookbook never constructs this object (tml_renderers.tokenizers does),
and tml_renderers is an optional, lazily imported dependency, so its
concrete type is not referenceable here. This protocol pins the small
surface the cookbook adapter and renderer actually rely on, making the
contract explicit instead of Any duck-typing.
Fields: