mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
parent
1f17daf52c
commit
c7a04140e9
19 changed files with 141 additions and 191 deletions
|
@ -191,7 +191,8 @@ def _check_if_model_name_in_pricing(
|
|||
input_cost_per_1k_tokens: str,
|
||||
output_cost_per_1k_tokens: str,
|
||||
):
|
||||
litellm.model_cost = litellm.get_locally_cached_model_cost_map()
|
||||
os.environ["LITELLM_LOCAL_MODEL_COST_MAP"] = "True"
|
||||
litellm.model_cost = litellm.get_model_cost_map(url="")
|
||||
|
||||
for model, value in litellm.model_cost.items():
|
||||
if model.startswith(bedrock_model_name):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue