This commit is contained in:
Ishaan Jaffer 2026-01-15 16:48:06 -08:00
parent 362b1a1577
commit b21484d229

View file

@ -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: