[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
+1 -1
View File
@@ -242,7 +242,7 @@ class Olmo3ReasoningParser(ReasoningParser):
think_start=self.think_start, think_end=self.think_end
)
def is_reasoning_end(self, input_ids: list[int]) -> bool:
def is_reasoning_end(self, input_ids: Sequence[int]) -> bool:
text = self.model_tokenizer.decode(input_ids)
return self.think_end in text