Windows 11
LM Studio 0.4.13
GUI
LLM: Gemma 4 26B A4B it compressed (~9GB filesize)
MoE - Active Experts: 16
Plugins active:
Prompt-ing while any of ^those plugins (that is, not both of them) was active.
Outcome: Error message:
"Failed to generate AI response
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."
Probable cause:
(this version of) Gemma 4 (26B, A4B, it, compressed) is not adjusted for tool use within LM Studio 0.4.13.
Windows 11
LM Studio 0.4.13
GUI
LLM: Gemma 4 26B A4B it compressed (~9GB filesize)
MoE - Active Experts: 16
Plugins active:
Prompt-ing while any of ^those plugins (that is, not both of them) was active.
Outcome: Error message:
"Failed to generate AI response
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."
Probable cause:
(this version of) Gemma 4 (26B, A4B, it, compressed) is not adjusted for tool use within LM Studio 0.4.13.