Fix typo in cost_calculator.py

This commit is contained in:
Brandon Zarnitz 2026-05-05 13:39:12 -04:00
parent b9bedc8153
commit 2fc147faaf

View file

@ -122,7 +122,7 @@ def cost_per_character(
prompt_cost = prompt_characters * model_info["input_cost_per_character"]
except Exception as e:
verbose_logger.debug(
"litellm.litellm_core_utils.llm_cost_calc.google.py::cost_per_character(): Exception occured - {}\nDefaulting to None".format(
"litellm.litellm_core_utils.llm_cost_calc.google.py::cost_per_character(): Exception occurred - {}\nDefaulting to None".format(
str(e)
)
)
@ -169,7 +169,7 @@ def cost_per_character(
)
except Exception as e:
verbose_logger.debug(
"litellm.litellm_core_utils.llm_cost_calc.google.py::cost_per_character(): Exception occured - {}\nDefaulting to None".format(
"litellm.litellm_core_utils.llm_cost_calc.google.py::cost_per_character(): Exception occurred - {}\nDefaulting to None".format(
str(e)
)
)