We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6be874a commit 97b91dbCopy full SHA for 97b91db
tests/system/vertexai/test_generative_models.py
@@ -125,13 +125,13 @@ def test_generate_content_with_cached_content_from_text(self):
125
],
126
)
127
128
- model = generative_models.GenerativeModel.from_cached_content(
+ model = preview_generative_models.GenerativeModel.from_cached_content(
129
cached_content=cached_content
130
131
132
response = model.generate_content(
133
"Why is sky blue?",
134
- generation_config=generative_models.GenerationConfig(temperature=0),
+ generation_config=preview_generative_models.GenerationConfig(temperature=0),
135
136
try:
137
assert response.text
0 commit comments