[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 13:16:48 +02:00 committed by GitHub
parent 71d1219545
commit 7771d1de88
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,