From 74b7438b125834033cb24780e12f7ef33e805c9e Mon Sep 17 00:00:00 2001 From: Max de Bayser Date: Mon, 4 Nov 2024 10:10:14 -0300 Subject: [PATCH] add review suggestions Signed-off-by: Max de Bayser --- vllm/entrypoints/openai/tool_parsers/granite_tool_parser.py | 1 - 1 file changed, 1 deletion(-) diff --git a/vllm/entrypoints/openai/tool_parsers/granite_tool_parser.py b/vllm/entrypoints/openai/tool_parsers/granite_tool_parser.py index b014585f4f934..269493371a790 100644 --- a/vllm/entrypoints/openai/tool_parsers/granite_tool_parser.py +++ b/vllm/entrypoints/openai/tool_parsers/granite_tool_parser.py @@ -193,7 +193,6 @@ def extract_tool_calls_streaming( elif prev_arguments: prev_args_json = json.dumps(prev_arguments) if cur_args_json != prev_args_json: - prefix = find_common_prefix( prev_args_json, cur_args_json) argument_diff = prefix[sent:]