mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
fix(utils.py): fix azure completion cost calculation
This commit is contained in:
parent
2108b7b528
commit
af56d8a759
2 changed files with 2 additions and 4 deletions
|
@ -863,7 +863,7 @@ async def model_info(request: Request):
|
|||
model_name = m["model_name"]
|
||||
model_params = {}
|
||||
for k,v in m["litellm_params"].items():
|
||||
if k == "api_key": # don't send the api key
|
||||
if k == "api_key" or k == "api_base": # don't send the api key or api base
|
||||
continue
|
||||
|
||||
if k == "model":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue