[Auto Sync] Update base_grammar_backend.py, collector.py (20251116) (#13357)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sehoon Kim <sehoon@x.ai>
This commit is contained in:
Lianmin Zheng
2025-11-19 16:05:50 -08:00
committed by GitHub
co-authored by github-actions[bot] <github-actions[bot]@users.noreply.github.com> Sehoon Kim
parent bfaf0b8607
commit 17b24aca6e
2 changed files with 16 additions and 7 deletions
@@ -36,6 +36,7 @@ class GrammarStats:
is_grammar_aborted: bool = False
tree_traversal_time: List[float] = field(default_factory=list)
dispatch_type: Optional[str] = None
num_timeout: int = 0
class BaseGrammarObject: