[Refactor] Remove dead current_tool_name_sent assignments from tool parsers (#43997)

Signed-off-by: sfeng33 <4florafeng@gmail.com>
This commit is contained in:
Flora Feng
2026-05-29 21:45:15 -04:00
committed by GitHub
parent 1e2ce5d11a
commit 1a096d8208
4 changed files with 0 additions and 6 deletions
@@ -47,7 +47,6 @@ class Phi4MiniJsonToolParser(ToolParser):
# streaming mode
self.prev_tool_call_arr: list[dict[str, Any]] = []
self.current_tool_id: int = -1
self.current_tool_name_sent: bool = False
self.streamed_args_for_tool: list[
str
] = [] # map what has been streamed for each tool so far to a list