This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Description
Problem
When import any mistral-nemo model, chat always return empty message from assistant

The root cause is the prompt template is generated improperly.
The current generated prompt template is
[INST] {system_message}\n{prompt} [/INST]
The correct prompt template should be
[INST] {system_message}\n[INST] {prompt} [/INST]
Solution
Update the render chat template logic to handle this case
After update chat template renderer, can chat with Mistral nemo successfully

Related issue janhq/models#19