mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
(feat) cost tracking for azure llms
This commit is contained in:
parent
9a44433844
commit
19fb24cd15
3 changed files with 21 additions and 2 deletions
|
@ -68,7 +68,7 @@ def test_cost_azure_gpt_35():
|
|||
id='chatcmpl-e41836bb-bb8b-4df2-8e70-8f3e160155ac',
|
||||
choices=[Choices(finish_reason=None, index=0,
|
||||
message=Message(content=' Sure! Here is a short poem about the sky:\n\nA canvas of blue, a', role='assistant'))],
|
||||
model='chatGPT-deployment-LiteLLM-isAMAZING',
|
||||
model='azure/gpt-35-turbo', # azure always has model written like this
|
||||
usage=Usage(prompt_tokens=21, completion_tokens=17, total_tokens=38)
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue