Skip to content

Commit 24cc24e

Browse files
matthew29tangcopybara-github
authored andcommitted
chore: Fix more failing system tests
PiperOrigin-RevId: 780706966
1 parent 56252e8 commit 24cc24e

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

tests/system/vertexai/test_prompts.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,5 +189,7 @@ def test_get_prompt_with_function_calling(self):
189189
assert prompt.tools
190190

191191
# Generate content using the prompt
192-
response = prompt.generate_content(contents=prompt.assemble_contents())
192+
response = prompt.generate_content(
193+
model_name="gemini-1.5-pro-002", contents=prompt.assemble_contents()
194+
)
193195
assert response

tests/system/vertexai/test_tokenization.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@
4141

4242

4343
_MODELS = [
44-
"gemini-1.0-pro",
45-
"gemini-1.5-pro",
46-
"gemini-1.5-flash",
47-
"gemini-1.5-flash-002",
4844
"gemini-1.5-pro-002",
4945
]
5046
_CORPUS = [

0 commit comments

Comments
 (0)