Skip to content

Commit 3b03f9a

Browse files
Zhenyi Qicopybara-github
Zhenyi Qi
authored andcommitted
chore: use the gemini-1.5-pro-001 for caching system test.
This model is the officially supported model after the feature is launched. PiperOrigin-RevId: 642822908
1 parent 374340a commit 3b03f9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/system/vertexai/test_generative_models.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
GEMINI_MODEL_NAME = "gemini-1.0-pro-002"
3535
GEMINI_VISION_MODEL_NAME = "gemini-1.0-pro-vision"
3636
GEMINI_15_MODEL_NAME = "gemini-1.5-pro-preview-0409"
37-
GEMINI_15_0514_MODEL_NAME = "gemini-1.5-pro-preview-0514"
37+
GEMINI_15_PRO_MODEL_NAME = "gemini-1.5-pro-001"
3838

3939

4040
# A dummy function for function calling
@@ -102,7 +102,7 @@ def setup_method(self):
102102

103103
def test_generate_content_with_cached_content_from_text(self):
104104
cached_content = caching.CachedContent.create(
105-
model_name=GEMINI_15_0514_MODEL_NAME,
105+
model_name=GEMINI_15_PRO_MODEL_NAME,
106106
system_instruction="Please answer all the questions like a pirate.",
107107
contents=[
108108
Content.from_dict(

0 commit comments

Comments
 (0)