Skip to content

Commit

Permalink
vertex fix
Browse files Browse the repository at this point in the history
  • Loading branch information
anakin87 committed Nov 23, 2024
1 parent 85c9713 commit 60ae687
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions integrations/google_vertex/tests/chat/test_gemini.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,13 @@ def test_to_dict_with_params(_mock_vertexai_init, _mock_generative_model):
"name": "get_current_weather",
"description": "Get the current weather in a given location",
"parameters": {
"type_": "OBJECT",
"type": "OBJECT",
"properties": {
"location": {
"type_": "STRING",
"type": "STRING",
"description": "The city and state, e.g. San Francisco, CA",
},
"unit": {"type_": "STRING", "enum": ["celsius", "fahrenheit"]},
"unit": {"type": "STRING", "enum": ["celsius", "fahrenheit"]},
},
"required": ["location"],
"property_ordering": ["location", "unit"],
Expand Down

0 comments on commit 60ae687

Please sign in to comment.