mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-29 06:33:28 +00:00
test(bedrock): recalculate fallback cost after metadata updates
This commit is contained in:
parent
477e7023d7
commit
4744f4b621
1 changed files with 1 additions and 1 deletions
|
|
@ -9039,7 +9039,7 @@ async def test_converse_fallback_prices_the_current_attempt(
|
|||
active_logging: Final = response.logging_obj if stream else logging_obj
|
||||
assert active_logging.response_cost_calculator(result) == pytest.approx(expected)
|
||||
active_logging.update_environment_variables(litellm_params={}, optional_params={})
|
||||
assert active_logging.response_cost_calculator(result) == pytest.approx(expected)
|
||||
assert active_logging.response_cost_calculator(result, ignore_stamped_cost=True) == pytest.approx(expected)
|
||||
if asynchronous:
|
||||
await client.close()
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue