[CI/Build] Fix LoRA testing (#44425)

Signed-off-by: Jee Jee Li <pandaleefree@gmail.com>
This commit is contained in:
Jee Jee Li
2026-06-03 08:58:06 -07:00
committed by GitHub
parent ec8d60bea8
commit 4d1fd13613
+10 -4
View File
@@ -194,10 +194,16 @@ class OpenAIServingModels:
lora_request.lora_name, lora_request.lora_path lora_request.lora_name, lora_request.lora_path
) )
) in str(e): ) in str(e):
raise LoRAAdapterNotFoundError( return create_error_response(
lora_request.lora_name, lora_request.lora_path LoRAAdapterNotFoundError(
) from e lora_request.lora_name, lora_request.lora_path
raise )
)
return create_error_response(
message=str(e),
err_type="InternalServerError",
status_code=HTTPStatus.INTERNAL_SERVER_ERROR,
)
self.lora_requests[lora_name] = lora_request self.lora_requests[lora_name] = lora_request
logger.info( logger.info(