diff --git a/semantic_router/llms/llamacpp.py b/semantic_router/llms/llamacpp.py
index 9a66b732c16b1c0779d60a45c8551f4ebc17e300..bcf01b6d602fbb6b5be1e743eca75e1b4154da20 100644
--- a/semantic_router/llms/llamacpp.py
+++ b/semantic_router/llms/llamacpp.py
@@ -41,8 +41,6 @@ class LlamaCppLLM(BaseLLM):
                 "`pip install 'semantic-router[local]'`"
             )
         self._llama_cpp = llama_cpp
-        llm = self._llama_cpp.Llama
-        grammar = self._llama_cpp.LlamaGrammar
         self.llm = llm
         self.temperature = temperature
         self.max_tokens = max_tokens