[CI] Fix mypy for vllm/v1/structured_output (#32722)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
This commit is contained in:
Wentao Ye
2026-01-23 11:55:51 +08:00
committed by GitHub
parent 5e4e0e51f4
commit 7ef5873752
18 changed files with 32 additions and 25 deletions
+2 -2
View File
@@ -31,12 +31,12 @@ class IdentityReasoningParser(ReasoningParser):
"constructor during construction."
)
def is_reasoning_end(self, input_ids: list[int]) -> bool:
def is_reasoning_end(self, input_ids: Sequence[int]) -> bool:
# Always return True, since we never treat reasoning specially
return True
def is_reasoning_end_streaming(
self, input_ids: list[int], delta_ids: list[int]
self, input_ids: Sequence[int], delta_ids: Sequence[int]
) -> bool:
return True