forked from phoenix/litellm-mirror
(v0)
This commit is contained in:
parent
0ae8ab1b13
commit
fd9bddc71a
1 changed files with 1 additions and 0 deletions
|
@ -575,6 +575,7 @@ def completion(
|
||||||
api_base=api_base,
|
api_base=api_base,
|
||||||
api_key=api_key,
|
api_key=api_key,
|
||||||
)
|
)
|
||||||
|
model_response._hidden_params["custom_llm_provider"] = custom_llm_provider
|
||||||
### REGISTER CUSTOM MODEL PRICING -- IF GIVEN ###
|
### REGISTER CUSTOM MODEL PRICING -- IF GIVEN ###
|
||||||
if input_cost_per_token is not None and output_cost_per_token is not None:
|
if input_cost_per_token is not None and output_cost_per_token is not None:
|
||||||
litellm.register_model(
|
litellm.register_model(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue