mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
test fix
This commit is contained in:
parent
362b1a1577
commit
b21484d229
1 changed files with 2 additions and 1 deletions
|
|
@ -952,7 +952,8 @@ def completion_cost( # noqa: PLR0915
|
|||
)
|
||||
|
||||
potential_model_names = [selected_model, _get_response_model(completion_response)]
|
||||
|
||||
if model is not None:
|
||||
potential_model_names.append(model)
|
||||
|
||||
for idx, model in enumerate(potential_model_names):
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue