Prevent whitespace leakage in beginning of prompt

#22

The current chat template leaks indentation and newlines at the beginning of the system message for every single turn of conversation. Prompt caching would still work in servers that trim, but would be uncacheable otherwise. This is a minor fix — no behavioral differences. Just no extra leading whitespace.

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment