Skip to content

Commit

Permalink
feat: GenAI - Release ToolConfig to GA
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 640001644
  • Loading branch information
matthew29tang authored and Copybara-Service committed Jun 4, 2024
1 parent 51431d7 commit bc8b14a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/vertexai/test_generative_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ def test_chat_function_calling(self, generative_models: generative_models):
)
@pytest.mark.parametrize(
"generative_models",
[preview_generative_models],
[generative_models, preview_generative_models],
)
def test_chat_forced_function_calling(self, generative_models: generative_models):
get_current_weather_func = generative_models.FunctionDeclaration(
Expand Down
2 changes: 2 additions & 0 deletions vertexai/generative_models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
ResponseValidationError,
SafetySetting,
Tool,
ToolConfig,
grounding,
)

Expand All @@ -51,5 +52,6 @@
"ResponseValidationError",
"SafetySetting",
"Tool",
"ToolConfig",
"grounding",
]

0 comments on commit bc8b14a

Please sign in to comment.