mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 10:14:26 +00:00
refactor(router.py): fix linting errors
This commit is contained in:
parent
c4aea7432f
commit
82d79638d4
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ class Router:
|
|||
########## remove -ModelID-XXXX from model ##############
|
||||
original_model_string = data["model"]
|
||||
# Find the index of "ModelID" in the string
|
||||
self.print_verbose(f"completion model: {original_model_string}"}
|
||||
self.print_verbose(f"completion model: {original_model_string}")
|
||||
index_of_model_id = original_model_string.find("-ModelID")
|
||||
# Remove everything after "-ModelID" if it exists
|
||||
if index_of_model_id != -1:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue