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
test fix
Ishaan Jaffc38146e180dc
diff --git a/tests/local_testing/test_text_completion.py b/tests/local_testing/test_text_completion.pyindex 55d6e229a3c..697c3fc7109 100644--- a/tests/local_testing/test_text_completion.py+++ b/tests/local_testing/test_text_completion.py@@ -4116,12 +4116,11 @@ async def test_async_text_completion_chat_model_stream():@pytest.mark.asyncioasync def test_completion_codestral_fim_api(model):try:- if model == "vertex_ai/codestral@2405":- from test_amazing_vertex_completion import (- load_vertex_ai_credentials,- )+ from test_amazing_vertex_completion import (+ load_vertex_ai_credentials,+ )- load_vertex_ai_credentials()+ load_vertex_ai_credentials()litellm.set_verbose = Trueimport logging@@ -4157,17 +4156,16 @@ async def test_completion_codestral_fim_api(model):@pytest.mark.parametrize("model",- ["vertex_ai/codestral@2405"],+ ["vertex_ai/mistral-nemo@2407"],)@pytest.mark.asyncioasync def test_completion_codestral_fim_api_stream(model):try:- if model == "vertex_ai/codestral@2405":- from test_amazing_vertex_completion import (- load_vertex_ai_credentials,- )+ from test_amazing_vertex_completion import (+ load_vertex_ai_credentials,+ )- load_vertex_ai_credentials()+ load_vertex_ai_credentials()import loggingfrom litellm._logging import verbose_logger