Skip to content

Commit 1f0c75a

Browse files
authored
[BugFix] Fix Duplicate Assignment in Hermes2ProToolParser (#8423)
1 parent 8a23e93 commit 1f0c75a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

vllm/entrypoints/openai/tool_parsers/hermes_tool_parser.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ def __init__(self, tokenizer: AnyTokenizer):
3333
self.current_tool_name_sent: bool = False
3434
self.prev_tool_call_arr: List[Dict] = []
3535
self.current_tool_id: int = -1
36-
self.current_tool_name_sent = False
3736
self.streamed_args_for_tool: List[str] = [
3837
] # map what has been streamed for each tool so far to a list
3938

0 commit comments

Comments
 (0)