Skip to content

Commit f8db9ae

Browse files
committed
Revert "Add exception handling for Mistral's chat_utils to improve robustness"
This reverts commit 92c386f. Signed-off-by: Jasmond Loh <Jasmond.Loh@hotmail.com>
1 parent 92c386f commit f8db9ae

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

vllm/entrypoints/chat_utils.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import asyncio
44
import json
5-
import traceback
65
from abc import ABC, abstractmethod
76
from collections import defaultdict, deque
87
from collections.abc import Awaitable, Iterable
@@ -1227,12 +1226,3 @@ def apply_mistral_chat_template(
12271226
# are properly caught in the preprocessing_input step
12281227
except AssertionError as e:
12291228
raise ValueError from e
1230-
1231-
# External library exceptions can sometimes occur despite the framework's
1232-
# internal exception management capabilities.
1233-
except Exception as e:
1234-
1235-
# Log and report any library-related exceptions for further
1236-
# investigation.
1237-
logger.exception(traceback.format_exc())
1238-
raise ValueError from e

0 commit comments

Comments
 (0)