mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-10 08:28:25 +00:00
style: ruff-format utils strip helpers and drop unused test import
This commit is contained in:
parent
8011d8135e
commit
63234c8b87
2 changed files with 3 additions and 3 deletions
|
|
@ -5219,7 +5219,9 @@ def _get_potential_model_names(model: str, custom_llm_provider: str | None) -> P
|
|||
combined_model_name = f"{cost_map_prefix}/{split_model}"
|
||||
elif cost_map_prefix != custom_llm_provider and model.startswith(cost_map_prefix + "/"):
|
||||
split_model = model.split("/", 1)[1]
|
||||
combined_model_name = model if model.startswith(cost_map_prefix + "/") else f"{cost_map_prefix}/{split_model}"
|
||||
combined_model_name = (
|
||||
model if model.startswith(cost_map_prefix + "/") else f"{cost_map_prefix}/{split_model}"
|
||||
)
|
||||
else:
|
||||
split_model = model
|
||||
combined_model_name = f"{cost_map_prefix}/{model}"
|
||||
|
|
|
|||
|
|
@ -10,8 +10,6 @@ suffix ``-5`` as a Vertex publish version and rewrote bare ids to
|
|||
|
||||
from __future__ import annotations
|
||||
|
||||
import os
|
||||
|
||||
import pytest
|
||||
|
||||
import litellm
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue