mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-03-21 16:00:12 +08:00
Merge 872c4f6512179fcddfc166da2d3afa41433a56de into 254f6b986720c92ddf97fbb1a6a6465da8e87e29
This commit is contained in:
commit
b4789b92f4
@ -11,6 +11,7 @@ from dataclasses import dataclass, field
|
||||
from http import HTTPStatus
|
||||
from typing import Any, ClassVar, Generic, TypeAlias, TypeVar
|
||||
|
||||
import aiohttp
|
||||
import numpy as np
|
||||
from fastapi import Request
|
||||
from openai.types.responses import (
|
||||
@ -1210,7 +1211,10 @@ class OpenAIServing:
|
||||
**_chat_template_kwargs,
|
||||
)
|
||||
|
||||
mm_data = await mm_data_future
|
||||
try:
|
||||
mm_data = await mm_data_future
|
||||
except aiohttp.ClientError as e:
|
||||
raise ValueError(f"{e.__class__.__name__} - {e}") from None
|
||||
|
||||
# tool parsing is done only if a tool_parser has been set and if
|
||||
# tool_choice is not "none" (if tool_choice is "none" but a tool_parser
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user