Skip to content

Commit

Permalink
Add missing parameter in example
Browse files Browse the repository at this point in the history
  • Loading branch information
leila-messallem committed Dec 20, 2024
1 parent 81f7ff4 commit a15a514
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/customize/llms/custom_llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@


class CustomLLM(LLMInterface):
def __init__(self, model_name: str, **kwargs: Any):
def __init__(
self, model_name: str, system_instruction: Optional[str] = None, **kwargs: Any
):
super().__init__(model_name, **kwargs)

def invoke(
Expand Down

0 comments on commit a15a514

Please sign in to comment.