Property TokenCounter
TokenCounter
Null uses a chars/4 estimate. Pass the chat model's own counter - reachable as
chatClient.GetService<Tokenizer>() - for exactness against the model that will
actually read the block.
public Func<string, int>? TokenCounter { get; set; }