From 28cbd6352d086e76ef7c1c78cf5a4f54d64d12c6 Mon Sep 17 00:00:00 2001 From: Julien Darve Date: Tue, 3 Nov 2026 13:51:38 -0800 Subject: [PATCH] fix(sidecar): set the SGLang media fields once #17653 (SGLang 0.5.23) set GenerateRequest's image_data, video_data and audio_data to empty, and #16203 set the same fields to the forwarded media. Both merged into main, so the struct named each field twice and the SGLang sidecar stopped compiling. Keep the forwarded media. Signed-off-by: Julien Darve --- lib/sidecar/sglang/src/protocol.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/sidecar/sglang/src/protocol.rs b/lib/sidecar/sglang/src/protocol.rs index 865e5418df00..db7c5a436ba8 100644 --- a/lib/sidecar/sglang/src/protocol.rs +++ b/lib/sidecar/sglang/src/protocol.rs @@ -178,9 +178,6 @@ pub(crate) fn build_generate_request( max_thinking_tokens: request.stop_conditions.max_thinking_tokens, kv_hints, return_text: None, - image_data: Vec::new(), - video_data: Vec::new(), - audio_data: Vec::new(), disaggregated_params: resolve_disaggregated_params( request, mode,