[Frontend] Remove unreachable code from llm.py (#19288)

Signed-off-by: KsuParkhamchuk <k.parkhamchuk@gmail.com>
This commit is contained in:
Kseniya Parkhamchuk
2025-06-08 21:22:10 -05:00
committed by GitHub
parent e1c4380d4c
commit 8335667c22

View File

@@ -519,7 +519,6 @@ class LLM:
Sequence) and len(lora_request) != len(prompts):
raise ValueError(
"Lora request list should be the same length as the prompts")
return lora_request
if lora_request is None or isinstance(lora_request, LoRARequest):
return [lora_request] * len(prompts)