mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
use _get_model_info_helper (#7703)
This commit is contained in:
parent
becd4bc748
commit
dab7bebaf2
1 changed files with 2 additions and 1 deletions
|
@ -60,6 +60,7 @@ from litellm.utils import (
|
|||
ModelResponse,
|
||||
TextCompletionResponse,
|
||||
TranscriptionResponse,
|
||||
_get_model_info_helper,
|
||||
print_verbose,
|
||||
token_counter,
|
||||
)
|
||||
|
@ -278,7 +279,7 @@ def cost_per_token( # noqa: PLR0915
|
|||
elif custom_llm_provider == "deepseek":
|
||||
return deepseek_cost_per_token(model=model, usage=usage_block)
|
||||
else:
|
||||
model_info = litellm.get_model_info(
|
||||
model_info = _get_model_info_helper(
|
||||
model=model, custom_llm_provider=custom_llm_provider
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue