Skip to content

Commit

Permalink
Update test_gemini.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Amnah199 authored Aug 21, 2024
1 parent e09fa09 commit 9ec32a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integrations/google_vertex/tests/test_gemini.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def test_from_dict(_mock_vertexai, _mock_generative_model):
assert gemini._project_id == "TestID123"
assert gemini._safety_settings == {HarmCategory.HARM_CATEGORY_DANGEROUS_CONTENT: HarmBlockThreshold.BLOCK_ONLY_HIGH}

#assert gemini._tools == [Tool(function_declarations=[GET_CURRENT_WEATHER_FUNC])]
# assert gemini._tools == [Tool(function_declarations=[GET_CURRENT_WEATHER_FUNC])]
assert isinstance(gemini._generation_config, GenerationConfig)


Expand Down

0 comments on commit 9ec32a5

Please sign in to comment.