From 3ad543c3346a1a61f701660e8844b441ef4335f3 Mon Sep 17 00:00:00 2001
From: James Briggs <35938317+jamescalam@users.noreply.github.com>
Date: Sat, 13 Jan 2024 18:02:52 +0000
Subject: [PATCH] removed uneeeded check for llm parameter

---
 semantic_router/llms/llamacpp.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/semantic_router/llms/llamacpp.py b/semantic_router/llms/llamacpp.py
index d344636f..24f5fc91 100644
--- a/semantic_router/llms/llamacpp.py
+++ b/semantic_router/llms/llamacpp.py
@@ -31,8 +31,6 @@ class LlamaCppLLM(BaseLLM):
         max_tokens: Optional[int] = 200,
         grammar: Optional[LlamaGrammar] = None,
     ):
-        if not llm:
-            raise ValueError("`llama_cpp.Llama` llm is required")
         super().__init__(
             name=name,
             llm=llm,
-- 
GitLab