Skip to content

Commit ccf9564

Browse files
committed
fix mistral tests
1 parent b8416a6 commit ccf9564

2 files changed

Lines changed: 2 additions & 11 deletions

File tree

libs/vertexai/langchain_google_vertexai/model_garden_maas/_base.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,7 @@
2525

2626
from langchain_google_vertexai._base import _VertexAIBase
2727

28-
_MISTRAL_MODELS: list[str] = [
29-
"mistral-nemo@2407",
30-
"mistral-large-2411@001",
31-
"mistral-small-2503@001",
32-
"codestral-2501@001",
33-
]
28+
_MISTRAL_MODELS: list[str] = ["mistral-medium-3", "mistral-small-2503", "codestral-2"]
3429
_LLAMA_MODELS: list[str] = [
3530
"meta/llama-3.2-90b-vision-instruct-maas",
3631
"meta/llama-3.3-70b-instruct-maas",

libs/vertexai/tests/integration_tests/test_maas.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,13 @@
1919
model_names = _LLAMA_MODELS + _MISTRAL_MODELS
2020
# Fix tool support for new Mistral and Llama models
2121
model_names_with_tools_support = [
22-
"mistral-nemo@2407",
22+
"mistral-medium-3",
2323
]
2424
model_locations = {
2525
"meta/llama-4-maverick-17b-128e-instruct-maas": "us-east5",
2626
"meta/llama-4-scout-17b-16e-instruct-maas": "us-east5",
2727
}
2828

29-
# TODO: mistral-nemo@2407 missing from Cloud project
30-
model_names.remove("mistral-nemo@2407")
31-
model_names_with_tools_support.remove("mistral-nemo@2407")
32-
3329

3430
@pytest.mark.extended
3531
@pytest.mark.parametrize("model_name", model_names)

0 commit comments

Comments
 (0)