Template error: syntax error: Conversation roles must alternate user/assistant/user/assistant/
Hello,
I have been running a llama 3.3 70B workflow where two user messages would follow after a system message. I would like to switch to gemma-3-27b-it, but it throws Template error: Conversation roles must alternate user/assistant/user/assistant/.
Before I redo the workflow, is there anything I could do to have gemma 3 accept two consecutive user messages? I am running dedicated HF inference with standard TGI container.
Hello,
I have been running a llama 3.3 70B workflow where two user messages would follow after a system message. I would like to switch to gemma-3-27b-it, but it throws Template error: Conversation roles must alternate user/assistant/user/assistant/.
Before I redo the workflow, is there anything I could do to have gemma 3 accept two consecutive user messages? I am running dedicated HF inference with standard TGI container.
The simplest way may be to remove its template check, but this may cause problems with the model effect. It must be based on such a template when it was trained. The best way is to merge your message on the client