SIGN IN SIGN UP

assistant: Normalize line endings for prompts loaded from templates (#16808)

Closes #16804

Similar to #15708, when reading prompts from a template, both Windows
and Linux might end up with `CRLF (\r\n)` line endings, which can result
in a panic.

Release Notes:

- N/A
张小白 committed
5ee4c036f95fb48109d1414e47b26dbb543e50c5
Parent: a28700a
Committed by GitHub <noreply@github.com> on 8/26/2024, 2:34:20 PM