Skip to content

Commit

Permalink
removed uneeeded check for llm parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescalam committed Jan 13, 2024
1 parent dc9e296 commit 3ad543c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions semantic_router/llms/llamacpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ def __init__(
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,
Expand Down

0 comments on commit 3ad543c

Please sign in to comment.