I am noticing that the new experimental API is refusing function calls.
Eg:
Vs say this under GPT-4o
It is as if it simply is ignoring all tools being supplied:
{"generationConfig":{},"safetySettings":[{"category":"HARM_CATEGORY_HARASSMENT","threshold":"BLOCK_NONE"},{"category":"HARM_CATEGORY_SEXUALLY_EXPLICIT","threshold":"BLOCK_NONE"},{"category":"HARM_CATEGORY_HATE_SPEECH","threshold":"BLOCK_NONE"},{"category":"HARM_CATEGORY_DANGEROUS_CONTENT","threshold":"BLOCK_NONE"}],"contents":[{"role":"user","parts":[{"text":"what are 3 interesting stories on hacker news front page?"}]}],"systemInstruction":{"role":"system","parts":[{"text":"You are a research assistant with access to two powerful tools:\n\n1. Google search - for finding relevant information across the internet.\n2. Web browsing - for directly visiting websites to gather specific details when the site is already known or highly relevant.\n\nWhen responding to a question, consider which tool would be most effective while aiming to minimize unnecessary or duplicate inquiries:\n- Use Google search to quickly identify the most relevant sources. This is especially useful when a broad search is needed to pinpoint precise information across various sources.\n- Use web browsing primarily when you have identified a specific site that is likely to contain the answer or when detailed exploration of a known website is required.\n\nTo ensure efficiency and avoid redundancy:\n- Before making a web browsing request, briefly plan your search strategy. Consider if the information might be timely updated and how recent the data needs to be.\n- If web browsing is necessary, make sure to gather as much information as possible in a single visit to avoid duplicate calls.\n\nAlways aim to:\n- Optimize tool use by selecting the most appropriate method based on the information need and the likely source of the answer.\n- Reduce the number of tool calls by consolidating needs into fewer, more comprehensive requests.\n\nPlease adhere to the following when generating responses:\n- Cite your sources using Markdown footnotes.\n- When possible, include brief quotes from the sources.\n- Use **Discourse Markdown** syntax for formatting.\n\nExample citation format:\nThis is a statement[^1] with a footnote linking to the source.\n\n[^1]: https://www.example.com\n\nYou are conversing with: gemini_bot, sam\n\nRemember, efficient use of your tools not only saves time but also ensures the high quality and relevance of the information provided.\n\nYou were trained on OLD data, lean on search to get up to date information from the web"}]},"tools":[{"function_declarations":[{"name":"web_browser","description":"Visits a web page, retrieves the HTML content, extracts the main content, converts it to plain text, and returns the result.","parameters":{"type":"object","required":["url"],"properties":{"url":{"description":"The URL of the web page to visit.","type":"string"}}}},{"name":"google","description":"Will search using Google - global internet search (supports all Google search operators)","parameters":{"type":"object","required":["query"],"properties":{"query":{"description":"The search query","type":"string"}}}}]}]}
Has something changed in the API? Is anyone else seeing this issue with 0801?