Skip to content

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]

test fix vertex_ai/codestral

Ishaan Jaffcf801f9642a1
diff --git a/tests/local_testing/test_amazing_vertex_completion.py b/tests/local_testing/test_amazing_vertex_completion.py
index 4381e139a39..dd3a566e75a 100644
--- a/tests/local_testing/test_amazing_vertex_completion.py
+++ b/tests/local_testing/test_amazing_vertex_completion.py
@@ -943,7 +943,6 @@ from test_completion import response_format_tests
[
"vertex_ai/mistral-large@2407",
"vertex_ai/mistral-nemo@2407",
- "vertex_ai/codestral@2405",
# "vertex_ai/meta/llama3-405b-instruct-maas",
], #
) # "vertex_ai",
@@ -1007,8 +1006,7 @@ async def test_partner_models_httpx(model, sync_mode):
[
"vertex_ai/mistral-large@2407",
# "vertex_ai/meta/llama3-405b-instruct-maas",
- "vertex_ai/codestral@2405",
- ], #
+ ],
) # "vertex_ai",
@pytest.mark.parametrize(
"sync_mode",
diff --git a/tests/local_testing/test_text_completion.py b/tests/local_testing/test_text_completion.py
index c2cee538689..55d6e229a3c 100644
--- a/tests/local_testing/test_text_completion.py
+++ b/tests/local_testing/test_text_completion.py
@@ -4112,7 +4112,7 @@ async def test_async_text_completion_chat_model_stream():
# asyncio.run(test_async_text_completion_chat_model_stream())
[email protected]("model", ["vertex_ai/codestral@2405"]) #
[email protected]("model", ["vertex_ai/mistral-nemo@2407"]) #
@pytest.mark.asyncio
async def test_completion_codestral_fim_api(model):
try: