[Fix] import regex instead of re (#19875)

Signed-off-by: Thomas Parnell <tpa@zurich.ibm.com>
This commit is contained in:
Thomas Parnell
2025-06-20 11:16:48 +00:00
committed by GitHub
parent 71d1219545
commit 7771d1de88
@@ -1,10 +1,11 @@
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
# ruff: noqa # ruff: noqa
import json import json
import re
from collections.abc import Sequence from collections.abc import Sequence
from typing import Any, Dict, List, Optional, Union from typing import Any, Dict, List, Optional, Union
import regex as re
from vllm.entrypoints.openai.protocol import (ChatCompletionRequest, from vllm.entrypoints.openai.protocol import (ChatCompletionRequest,
DeltaFunctionCall, DeltaMessage, DeltaFunctionCall, DeltaMessage,
DeltaToolCall, DeltaToolCall,