Skip to content

Commit

Permalink
[BugFix] Fix Duplicate Assignment in Hermes2ProToolParser (vllm-proje…
Browse files Browse the repository at this point in the history
  • Loading branch information
vegaluisjose authored Sep 12, 2024
1 parent 8a23e93 commit 1f0c75a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion vllm/entrypoints/openai/tool_parsers/hermes_tool_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ def __init__(self, tokenizer: AnyTokenizer):
self.current_tool_name_sent: bool = False
self.prev_tool_call_arr: List[Dict] = []
self.current_tool_id: int = -1
self.current_tool_name_sent = False
self.streamed_args_for_tool: List[str] = [
] # map what has been streamed for each tool so far to a list

Expand Down

0 comments on commit 1f0c75a

Please sign in to comment.