Model system prompt cannot be properly deleted
LocalAI version: 3.5.0
Environment, CPU architecture, OS, and Version: Mac T8132 MacOS 15.5 24F74 no VM
Describe the bug When editing the model via ui you can specify a system prompt. First of all, it's not documented if this overwrites the system prompt in templates or if we can use both. Either way, providing it does write it properly in the yaml file. Also deleting it deletes the system prompt from the yaml file. But whenever I come back to visit the model settings, I can see the system prompt being back there.
To Reproduce Use the ui, edit a model and write a system prompt. Save it and then delete and save it. Revisit the configuration page and see that the system prompt is back there.
Expected behavior The system prompt should be gone.
Logs No logs. Deletion in yaml file works.
Additional context It does delete from the yaml file but the ui still displays the system prompt. It does so even when shutting down localai, exiting browser, starting back up and visiting the model configuration site.