You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"The current service does not support processing requests containing multimodal data when prefix cache is enabled. Please send only text-based requests or disable prefix cache"
198
+
)
199
+
raiseEngineError(
200
+
"The current service does not support processing requests containing multimodal data when prefix cache is enabled. Please send only text-based requests or disable prefix cache",
Copy file name to clipboardExpand all lines: tests/entrypoints/test_chat.py
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -27,11 +27,13 @@
27
27
classTestChat(unittest.TestCase):
28
28
"""Test case for chat functionality"""
29
29
30
+
COMMON_PREFIX="I am a highly capable, compassionate, and trustworthy AI assistant dedicated to providing you with exceptional support. Whatever questions or challenges you may have, I will utilize my full capabilities to offer thoughtful and comprehensive assistance. As your intelligent companion, I consistently maintain honesty, transparency, and patience to ensure our interactions are both productive and enjoyable."
31
+
30
32
PROMPTS= [
31
-
[{"content": "The color of tomato is ", "role": "user"}],
32
-
[{"content": "The equation 2+3= ", "role": "user"}],
33
-
[{"content": "The equation 4-1= ", "role": "user"}],
34
33
[{"content": "PaddlePaddle is ", "role": "user"}],
34
+
[{"content": COMMON_PREFIX+"The color of tomato is ", "role": "user"}],
0 commit comments