Skip to content

Commit

Permalink
#35 fixed: supporting kwargs for passing attempts parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolay-r committed Nov 26, 2024
1 parent 8398fb6 commit 1807f98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bulk_chain/core/llm_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class BaseLM(object):

def __init__(self, name, attempts=None, delay_sec=1, enable_log=True):
def __init__(self, name, attempts=None, delay_sec=1, enable_log=True, **kwargs):
self.__name = name
self.__attempts = 1 if attempts is None else attempts
self.__delay_sec = delay_sec
Expand Down

0 comments on commit 1807f98

Please sign in to comment.