gemma-4-31b-it unable to execute tool calling

#66
by Naman2302 - opened

Deployed gemma-4-31B-it locally, then created an agent using google adk while making a tool call , gemma-4-31B is just making tool calls in plain text format but not actually executing the tool call.
is this a deployment issue or issue with the model only.
Already checked all the flags are placed correctly.

Screenshot 2026-04-15 115004

Google org
edited Apr 17

Hi @Naman2302
The model is actually performing well as it’s generating the correct call:name{args} syntax. Usually we get complete response like this "|tool_call>call:get_current_temperature{location:<|"|>London<|"|>}<tool_call|><|tool_response>". The reason it's not executing could be ADK integration issue. Could pls share the min reproducible code ? I would like to repro from my end once before escalating .
Thanks

Any follow up on this ?

Hi @pannaga10
simply updated the chat-template config file with the latest updates solved the issue. The model is working fine now .
Thanks

Sign up or log in to comment