Revert "fix: fix video input for qwen3-vl" (#11437)

This commit is contained in:
Lianmin Zheng
2025-10-10 12:44:40 -07:00
committed by GitHub
parent 52fcbbb8bd
commit b4408e6098
4 changed files with 3 additions and 45 deletions

View File

@@ -494,7 +494,7 @@ class VideoOpenAITestMixin(TestOpenAIOmniServerBase):
**(self.get_vision_request_kwargs()),
)
video_response = response.choices[0].message.content.lower()
video_response = response.choices[0].message.content
print("-" * 30)
print(f"Video response:\n{video_response}")
@@ -502,10 +502,9 @@ class VideoOpenAITestMixin(TestOpenAIOmniServerBase):
# Add assertions to validate the video response
assert (
"ipod" in video_response
"iPod" in video_response
or "device" in video_response
or "microphone" in video_response
or "phone" in video_response
), f"video_response: {video_response}, should contain 'iPod' or 'device'"
assert (
"man" in video_response