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]

text fix vertex deprecated a model

Ishaan Jaff85d843ab4d65
diff --git a/tests/local_testing/test_amazing_vertex_completion.py b/tests/local_testing/test_amazing_vertex_completion.py
index db0526b6ca9..1b93a5e3850 100644
--- a/tests/local_testing/test_amazing_vertex_completion.py
+++ b/tests/local_testing/test_amazing_vertex_completion.py
@@ -3216,18 +3216,6 @@ async def test_vertexai_model_garden_model_completion(
assert response.usage.total_tokens == 172
-def test_vertexai_code_gecko():
- litellm.set_verbose = True
- load_vertex_ai_credentials()
- response = completion(
- model="vertex_ai/code-gecko@002",
- messages=[{"role": "user", "content": "Hello world!"}],
- stream=True,
- )
-
- for chunk in response:
- print(chunk)
-
def vertex_ai_anthropic_thinking_mock_response(*args, **kwargs):
mock_response = MagicMock()