Any-to-Any
Transformers
GGUF
conversational

Tool Calls in LM Studio Not Working

#3
by graysonk - opened

When I try to connect an MCP server in LM Studio to this model I get the message shown below. Asking Gemini (Web) I believe it is a problem with the metadata setup for the model. I have also verified tool calls are working with other models on my machine in LM Studio (gemma-4-e4b)

"""
Failed to send message
Error rendering prompt with jinja template: "Cannot call something that is not a function: got UndefinedValue".

This is usually an issue with the model's prompt template. If you are using a popular model, you can try to search the model under lmstudio-community, which will have fixed prompt templates. If you cannot find one, you are welcome to post this issue to our discord or issue tracker on GitHub. Alternatively, if you know how to write jinja templates, you can override the prompt template in My Models > model settings > Prompt Template.
"""

Google org

is this working now?
I think it could have been an integration issue all Gemma models are pretty similar, so if it works with e4b, it should work with the 12B

Sign up or log in to comment