pub fn estimate_token_count(text: &str) -> u64Expand description
Estimate prompt tokens through the shared workspace tokenizer.
Keeping prompt budgeting on the common estimator makes prompt reports and the other runtime token budgets use the same tokenization semantics.