[Refactor] Derive is_reasoning_end from the engine grammar (#56200)
Signed-off-by: sfeng33 <4florafeng@gmail.com>
This commit is contained in:
@@ -282,6 +282,7 @@ def inkling_config() -> ParserEngineConfig:
|
||||
# `<|message_model|>`. Non-streaming parsing receives only the generated
|
||||
# suffix, so begin in the corresponding message-header state as well.
|
||||
initial_state=ParserState.MESSAGE_HEADER,
|
||||
wait_for_reasoning=True,
|
||||
terminals=terminals,
|
||||
# Inkling content-kind markers are the grammar. When the engine is
|
||||
# used through DelegatingParser, the reasoning pass can hand the tool
|
||||
|
||||
Reference in New Issue
Block a user