diff --git a/vllm/entrypoints/openai/tool_parsers/hermes_tool_parser.py b/vllm/entrypoints/openai/tool_parsers/hermes_tool_parser.py index fbd6801644f3b..8a056ef8a38e5 100644 --- a/vllm/entrypoints/openai/tool_parsers/hermes_tool_parser.py +++ b/vllm/entrypoints/openai/tool_parsers/hermes_tool_parser.py @@ -187,7 +187,7 @@ def extract_tool_calls_streaming( and cur_tool_end_count > prev_tool_end_count): diff = self.prev_tool_call_arr[self.current_tool_id].get( "arguments") - if diff: + if diff: diff = diff.encode('utf-8').decode( 'unicode_escape') if diff is str else diff diff = json.dumps(