def test_litellm_bedrock(self):
        """Check that cost tracking works for bedrock models through litellm."""

        from trulens.providers.bedrock import Bedrock
        from trulens.providers.litellm import LiteLLM

        # Have to delete litellm endpoint singleton as it may have been created
        # with the wrong underlying litellm provider in a prior test.
        from trulens.providers.litellm.endpoint import LiteLLMEndpoint

        LiteLLMEndpoint.delete_instances()

        provider = LiteLLM(f"bedrock/{Bedrock.DEFAULT_MODEL_ID}")

        # Litellm comes with cost tracking for bedrock though it may be inaccurate.
        self._test_llm_provider_endpoint(provider)
Check that cost tracking works for bedrock models through litellm.
tests/e2e/test_endpoints.py