mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
docs(token_usage.md): adding new register model function
This commit is contained in:
parent
1483484626
commit
4198901a2d
2 changed files with 24 additions and 2 deletions
|
@ -1088,6 +1088,7 @@ def register_model(model_cost: dict):
|
|||
elif value.get('litellm_provider') == 'bedrock':
|
||||
if key not in litellm.bedrock_models:
|
||||
litellm.bedrock_models.append(key)
|
||||
return model_cost
|
||||
|
||||
def get_litellm_params(
|
||||
return_async=False,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue