Bug Report
I got this error when using LM Studio 0.3.35 Windows 11
No problem when asking to write a story but when I asked it to search for something on the web, it searches and then stops, then the message below appears.
Failed to send message
Error rendering prompt with jinja template: "Cannot apply filter "length" to type: 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.
Use the GGUF version they recently added or use the prompt template in that version in another GGUF.
Thanks. Used the latest which was released from Service now and it works properly.