Site icon CodeRevolution Support

Error: Function calling

I got this error suddently : [17-Aug-2025 08:49:38 UTC] Retrying (1) Google API call after initial failure: Error: Function calling config is set without function_declarations. data: {"contents":[{"role":"user","parts":[{"text":"T.............."}]}],"generationConfig":{"temperature":1,"topK":1,"topP":1,"maxOutputTokens":1853,"stopSequences":[]},"safetySettings":[{"category":"HARM_CATEGORY_HARASSMENT","threshold":"BLOCK_MEDIUM_AND_ABOVE"}],"tools":[],"tool_config":{"function_calling_config":{"mode":"auto"}}} How can I fix it? thanks, Eric
Exit mobile version