[BugFix] Fix Duplicate Assignment in Hermes2ProToolParser (#8423)
This commit is contained in:
parent
8a23e93302
commit
1f0c75afa9
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user