Skip to content

Commit a90ada1

Browse files
authored
test: Update multimodal sglang response validation to be more consistent (#3552)
1 parent c9da2bf commit a90ada1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/serve/test_sglang.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,10 @@ class SGLangConfig(EngineConfig):
113113
},
114114
],
115115
repeat_count=1,
116-
expected_response=["bus"],
116+
# NOTE: The response text may mention 'bus', 'train', 'streetcar', etc.
117+
# so we need something consistently found in the response, or a different
118+
# approach to validation for this test to be stable.
119+
expected_response=["OUT OF SERVICE"],
117120
temperature=0.0,
118121
)
119122
],

0 commit comments

Comments
 (0)