diff --git a/litellm/llms/vllm.py b/litellm/llms/vllm.py index bc46e77d04a..2ece0ef684c 100644 --- a/litellm/llms/vllm.py +++ b/litellm/llms/vllm.py @@ -22,8 +22,8 @@ def validate_environment(model: str, llm: Any =None): if llm is None: llm = LLM(model=model) return llm, SamplingParams - except: - raise VLLMError(status_code=0, message="The vllm package is not installed in your environment. Run - `pip install vllm` before proceeding.") + except Exception as e: + raise VLLMError(status_code=0, message=str(e)) def completion( model: str,