mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
fix circle ci testing
This commit is contained in:
parent
1dd77ff176
commit
10e4a06799
3 changed files with 4 additions and 4 deletions
|
@ -517,10 +517,10 @@ def client(original_function):
|
|||
result = None
|
||||
litellm_call_id = str(uuid.uuid4())
|
||||
kwargs["litellm_call_id"] = litellm_call_id
|
||||
# try:
|
||||
# model = args[0] if len(args) > 0 else kwargs["model"]
|
||||
# except:
|
||||
# raise ValueError("model param not passed in.")
|
||||
try:
|
||||
model = args[0] if len(args) > 0 else kwargs["model"]
|
||||
except:
|
||||
raise ValueError("model param not passed in.")
|
||||
|
||||
try:
|
||||
logging_obj = function_setup(start_time, *args, **kwargs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue