Unverified Commit 1f0c75af authored by Luis Vega's avatar Luis Vega Committed by GitHub
Browse files

[BugFix] Fix Duplicate Assignment in Hermes2ProToolParser (#8423)

parent 8a23e933
...@@ -33,7 +33,6 @@ class Hermes2ProToolParser(ToolParser): ...@@ -33,7 +33,6 @@ class Hermes2ProToolParser(ToolParser):
self.current_tool_name_sent: bool = False self.current_tool_name_sent: bool = False
self.prev_tool_call_arr: List[Dict] = [] self.prev_tool_call_arr: List[Dict] = []
self.current_tool_id: int = -1 self.current_tool_id: int = -1
self.current_tool_name_sent = False
self.streamed_args_for_tool: List[str] = [ self.streamed_args_for_tool: List[str] = [
] # map what has been streamed for each tool so far to a list ] # map what has been streamed for each tool so far to a list
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment