forked from phoenix/litellm-mirror
fix(openai.py): fix linting issue
This commit is contained in:
parent
e917d0eee6
commit
3e8c8ef507
8 changed files with 166 additions and 14 deletions
|
@ -587,6 +587,10 @@ async def track_cost_callback(
|
|||
start_time=start_time,
|
||||
end_time=end_time,
|
||||
)
|
||||
else:
|
||||
raise Exception(
|
||||
f"Model={kwargs['model']} not in litellm model cost map. Add custom pricing - https://docs.litellm.ai/docs/proxy/custom_pricing"
|
||||
)
|
||||
except Exception as e:
|
||||
verbose_proxy_logger.debug(f"error in tracking cost callback - {str(e)}")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue