The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
Update tests/litellm_utils_tests/test_bedrock_token_counter.py
Seokjun Yangeb733702fcd5
diff --git a/tests/litellm_utils_tests/test_bedrock_token_counter.py b/tests/litellm_utils_tests/test_bedrock_token_counter.pyindex 7239ec0bcfc..b0e37914af9 100644--- a/tests/litellm_utils_tests/test_bedrock_token_counter.py+++ b/tests/litellm_utils_tests/test_bedrock_token_counter.py@@ -150,7 +150,7 @@ class TestBedrockCountTokensEndpoint:api_base=api_base,aws_bedrock_runtime_endpoint=runtime_endpoint,)- assert url.startswith(api_base)+ assert url == f"{api_base}/model/amazon.nova-lite-v1:0/count-tokens"def test_env_var_overrides_default(self, monkeypatch):monkeypatch.setenv(