[Frontend] [Parser] Migrate Nemotron V3 to streaming parser engine (#45755)

Signed-off-by: Ben Browning <bbrownin@redhat.com>
This commit is contained in:
Ben Browning
2026-06-16 05:31:21 +00:00
committed by GitHub
parent 259ff891be
commit f3858d5422
12 changed files with 771 additions and 172 deletions
+7
View File
@@ -110,6 +110,13 @@ class ParserEngineReasoningAdapter(ReasoningParser):
def finish_streaming(self) -> DeltaMessage | None:
return self._parser_engine.finish_streaming()
def get_streaming_fallback_content(
self,
text: str,
request: ChatCompletionRequest | ResponsesRequest,
) -> str | None:
return self._parser_engine.get_streaming_fallback_content(text, request)
def count_reasoning_tokens(self, token_ids: Sequence[int]) -> int:
return self._parser_engine.count_reasoning_tokens(token_ids)