From c58e3a2246b91b6f0624a34ec729c0779ca04a75 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Wed, 26 Feb 2025 19:28:19 -0800 Subject: [PATCH] Use -- none -- for no prompt Refs https://github.com/simonw/llm/issues/783#issuecomment-2686760812 --- llm/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llm/cli.py b/llm/cli.py index f09ee40..9457a2d 100644 --- a/llm/cli.py +++ b/llm/cli.py @@ -1125,7 +1125,7 @@ def logs_list( # In conversation log mode only show it for the first one if conversation_id: should_show_conversation = False - click.echo("## Prompt\n\n{}".format(row["prompt"] or "- none -")) + click.echo("## Prompt\n\n{}".format(row["prompt"] or "-- none --")) if row["system"] != current_system: if row["system"] is not None: click.echo("\n## System\n\n{}".format(row["system"]))