Improve structured outputs: fix race condition, server crash, metrics and style (#6188)
This commit is contained in:
@@ -533,6 +533,7 @@ class Req:
|
||||
|
||||
# Constrained decoding
|
||||
self.grammar: Optional[BaseGrammarObject] = None
|
||||
self.grammar_wait_ct = 0
|
||||
|
||||
# The number of cached tokens that were already cached in the KV cache
|
||||
self.cached_tokens = 0
|
||||
|
||||
Reference in New Issue
Block a user