File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
entrypoints/serve/instrumentator Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 77
88import argparse
99import json
10- import re
1110import sys
1211from dataclasses import asdict , dataclass
1312from pathlib import Path
1413from typing import Any
1514from urllib .parse import quote
1615
16+ import regex as re
17+
1718if not sys .version_info >= (3 , 12 ):
1819 raise RuntimeError ("This script requires Python 3.12 or higher." )
1920
Original file line number Diff line number Diff line change 22# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
33
44
5- import re
6-
75import prometheus_client
6+ import regex as re
87from fastapi import FastAPI , Response
98from prometheus_client import make_asgi_app
109from prometheus_fastapi_instrumentator import Instrumentator
Original file line number Diff line number Diff line change 55# copy from https://huggingface.co/deepseek-ai/DeepSeek-V3.2/blob/main/encoding/encoding_dsv32.py
66import copy
77import json
8- import re
98from typing import Any
109
10+ import regex as re
11+
1112# flake8: noqa: E501
1213TOOLS_SYSTEM_TEMPLATE = """## Tools
1314You have access to a set of tools you can use to answer the user's question.
You can’t perform that action at this time.
0 commit comments