forked from phoenix/litellm-mirror
(test) cost calc on azure
This commit is contained in:
parent
5408a40cc8
commit
da7c07574f
2 changed files with 4 additions and 1 deletions
|
@ -594,6 +594,9 @@ def test_completion_azure():
|
|||
# )
|
||||
# Add any assertions here to check the response
|
||||
print(response)
|
||||
|
||||
cost = completion_cost(completion_response=response)
|
||||
print("Cost for azure completion request", cost)
|
||||
except Exception as e:
|
||||
pytest.fail(f"Error occurred: {e}")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue