Skip to content

Commit d7f744b

Browse files
fix test name
1 parent ade95c7 commit d7f744b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

generative_ai/function_calling/test_function_calling.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ def test_parallel_function_calling() -> None:
9292
assert response is not None
9393

9494

95-
def test_function_declaration_as_func() -> None:
96-
func_declaration = declare_function_from_function.function_declaration_as_func()
95+
def test_function_declaration_from_func() -> None:
96+
func_declaration = declare_function_from_function.function_declaration_from_func()
9797
tools = Tool(function_declarations=[func_declaration])
9898
model = GenerativeModel(model_name="gemini-1.5-pro-002", tools=[tools])
9999
chat_session = model.start_chat()

0 commit comments

Comments
 (0)