This fixes the chat template in a number of ways.

  1. It moves it into its own .jinja file instead of being a serialized string in the config file.
  2. It adds whitespace and uses the jinja whitespace deletion mechanism to preserve formatting.
  3. It fixes the security exception that is raised when an empty system message is provided. The .update method is not permitted.
kallewooof changed pull request status to open
Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment