Skip to content

Commit 7771d1d

Browse files
authored
[Fix] import regex instead of re (#19875)
Signed-off-by: Thomas Parnell <tpa@zurich.ibm.com>
1 parent 71d1219 commit 7771d1d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vllm/entrypoints/openai/tool_parsers/xlam_tool_parser.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# SPDX-License-Identifier: Apache-2.0
22
# ruff: noqa
33
import json
4-
import re
54
from collections.abc import Sequence
65
from typing import Any, Dict, List, Optional, Union
76

7+
import regex as re
8+
89
from vllm.entrypoints.openai.protocol import (ChatCompletionRequest,
910
DeltaFunctionCall, DeltaMessage,
1011
DeltaToolCall,

0 commit comments

Comments
 (0)