Skip to content

Commit 3adc495

Browse files
committed
Update requirements and test
1 parent da685c4 commit 3adc495

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

genai/express_mode/api_key_example_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def test_api_key_example(mock_genai_client: MagicMock) -> None:
4040

4141
mock_genai_client.assert_called_once_with(vertexai=True, api_key="YOUR_API_KEY")
4242
mock_genai_client.return_value.models.generate_content.assert_called_once_with(
43-
model="gemini-2.0-flash-exp",
43+
model="gemini-2.0-flash-001",
4444
contents="Explain bubble sort to me.",
4545
)
4646
assert response == "This is a mocked bubble sort explanation."
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
google-genai==0.6.0
1+
google-genai==1.0.0

0 commit comments

Comments
 (0)