Skip to content

Commit 0cdb053

Browse files
chaunceyjiangdevpatelio
authored andcommitted
[Misc] Remove the duplicate code (vllm-project#28111)
Signed-off-by: chaunceyjiang <[email protected]>
1 parent 0c4645c commit 0cdb053

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

vllm/entrypoints/openai/serving_responses.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1000,11 +1000,6 @@ def _construct_input_messages_with_harmony(
10001000
# to add the tool call request to prev_outputs so that the
10011001
# parse_response_input can find the tool call request when
10021002
# parsing the tool call output.
1003-
if (
1004-
isinstance(response_msg, dict)
1005-
and response_msg.get("type") == "function_call"
1006-
):
1007-
response_msg = ResponseFunctionToolCall.model_validate(response_msg)
10081003
if isinstance(response_msg, ResponseFunctionToolCall):
10091004
prev_outputs.append(response_msg)
10101005
return messages

0 commit comments

Comments
 (0)