[Refactor] Remove InputPreprocessor (#53064)

Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
Cyrus Leung
2026-08-20 08:39:48 +00:00
committed by GitHub
parent 14617c2b6c
commit 4666a8ba9e
8 changed files with 29 additions and 367 deletions
@@ -54,11 +54,10 @@ def test_text_only_model_mm_data_maps_to_bad_request():
with pytest.raises(ValueError, match="text-only") as exc_info:
renderer._process_multimodal(
prompt="What is in this image?",
prompt=[1],
mm_data={"image": [cherry_pil_image]},
mm_uuids=None,
mm_processor_kwargs=None,
tokenization_kwargs=None,
)
error_response = create_error_response(exc_info.value)