mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-29 15:23:51 +00:00
add special unicode character ↵ to showcase newlines in model prompt templates
This commit is contained in:
parent
091eca0ba4
commit
df489261ac
1 changed files with 2 additions and 1 deletions
|
@ -63,7 +63,8 @@ class ModelTemplate(Subcommand):
|
|||
rendered += colored(tok, "yellow", attrs=["bold"])
|
||||
else:
|
||||
rendered += tok
|
||||
rendered += "\n"
|
||||
|
||||
rendered = rendered.replace("\n", "↵\n")
|
||||
print_table(
|
||||
[
|
||||
("Name", colored(template.template_name, "white", attrs=["bold"])),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue