diff --git a/generative_ai/function_calling.py b/generative_ai/function_calling.py index 886ffcad178a..f355f958a0be 100644 --- a/generative_ai/function_calling.py +++ b/generative_ai/function_calling.py @@ -85,7 +85,6 @@ def generate_function_call(prompt: str, project_id: str, location: str) -> tuple user_prompt_content, # User prompt response_function_call_content, # Function call response Content( - role="user", parts=[ Part.from_function_response( name="get_current_weather",