Skip to content

Commit

Permalink
Mark LLM.warmup as classmethod
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Jan 30, 2025
1 parent 1b380b2 commit 269e055
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lumen/ai/llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ def _add_system_message(
messages = [{"role": "system", "content": system}] + messages
return messages, input_kwargs

@classmethod
def warmup(cls, model_kwargs: dict | None):
"""
Allows LLM provider to perform actions that ensure that
Expand Down

0 comments on commit 269e055

Please sign in to comment.