From 39a1d438f23f88d1c88f3e74930ab221b3e450de Mon Sep 17 00:00:00 2001 From: Yuneng Jiang Date: Fri, 15 May 2026 22:17:10 -0700 Subject: [PATCH] test(fireworks): replace deprecated llama-v3p3-70b-instruct model MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fireworks removed llama-v3p3-70b-instruct from serverless, so every live test using it now fails with NotFoundError ("Model not found, inaccessible, and/or not deployed"). Swap the 6 references (3 files) to the currently-served accounts/fireworks/models/deepseek-v3p1 — the canonical model in Fireworks' current docs examples and present in LiteLLM's cost map. test_get_model_params_fireworks_ai is a pure pricing-heuristic test (no network) asserting the >16b branch, so it uses llama-v3p1-70b- instruct instead to keep the "fireworks-ai-above-16b" assertion and branch coverage intact. --- tests/llm_translation/test_fireworks_ai_translation.py | 6 +++--- tests/local_testing/test_completion.py | 2 +- tests/local_testing/test_completion_cost.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/llm_translation/test_fireworks_ai_translation.py b/tests/llm_translation/test_fireworks_ai_translation.py index 1cc6aabdca..de065dc451 100644 --- a/tests/llm_translation/test_fireworks_ai_translation.py +++ b/tests/llm_translation/test_fireworks_ai_translation.py @@ -97,7 +97,7 @@ def test_document_inlining_example(disable_add_transform_inline_image_block): if disable_add_transform_inline_image_block is True: with pytest.raises(Exception): completion = litellm.completion( - model="fireworks_ai/accounts/fireworks/models/llama-v3p3-70b-instruct", + model="fireworks_ai/accounts/fireworks/models/deepseek-v3p1", messages=[ { "role": "user", @@ -119,7 +119,7 @@ def test_document_inlining_example(disable_add_transform_inline_image_block): ) else: completion = litellm.completion( - model="fireworks_ai/accounts/fireworks/models/llama-v3p3-70b-instruct", + model="fireworks_ai/accounts/fireworks/models/deepseek-v3p1", messages=[ { "role": "user", @@ -215,7 +215,7 @@ def test_global_disable_flag_with_transform_messages_helper(monkeypatch): ) as mock_post: try: completion( - model="fireworks_ai/accounts/fireworks/models/llama-v3p3-70b-instruct", + model="fireworks_ai/accounts/fireworks/models/deepseek-v3p1", messages=[ { "role": "user", diff --git a/tests/local_testing/test_completion.py b/tests/local_testing/test_completion.py index 6341fa7800..cff3fdef45 100644 --- a/tests/local_testing/test_completion.py +++ b/tests/local_testing/test_completion.py @@ -1057,7 +1057,7 @@ def test_completion_fireworks_ai(): }, ] response = completion( - model="fireworks_ai/llama-v3p3-70b-instruct", + model="fireworks_ai/accounts/fireworks/models/deepseek-v3p1", messages=messages, ) print(response) diff --git a/tests/local_testing/test_completion_cost.py b/tests/local_testing/test_completion_cost.py index 618287e195..a9bbcffd8e 100644 --- a/tests/local_testing/test_completion_cost.py +++ b/tests/local_testing/test_completion_cost.py @@ -1171,7 +1171,7 @@ from litellm.llms.fireworks_ai.cost_calculator import get_base_model_for_pricing @pytest.mark.parametrize( "model, base_model", [ - ("fireworks_ai/llama-v3p3-70b-instruct", "fireworks-ai-above-16b"), + ("fireworks_ai/llama-v3p1-70b-instruct", "fireworks-ai-above-16b"), ], ) def test_get_model_params_fireworks_ai(model, base_model): @@ -1182,7 +1182,7 @@ def test_get_model_params_fireworks_ai(model, base_model): @pytest.mark.parametrize( "model", [ - "fireworks_ai/llama-v3p3-70b-instruct", + "fireworks_ai/accounts/fireworks/models/deepseek-v3p1", ], ) def test_completion_cost_fireworks_ai(model):