mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-11 22:51:28 +00:00
refactor(router.py): fix linting errors
This commit is contained in:
parent
82d79638d4
commit
6149642295
1 changed files with 1 additions and 1 deletions
|
|
@ -182,7 +182,7 @@ class Router:
|
|||
if index_of_model_id != -1:
|
||||
data["model"] = original_model_string[:index_of_model_id]
|
||||
else:
|
||||
data["model"] = original_model_string)
|
||||
data["model"] = original_model_string
|
||||
return litellm.completion(**{**data, "messages": messages, "caching": self.cache_responses, **kwargs})
|
||||
except Exception as e:
|
||||
raise e
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue