Use -- none -- for no prompt

Refs https://github.com/simonw/llm/issues/783#issuecomment-2686760812
This commit is contained in:
Simon Willison 2025-02-26 19:28:19 -08:00
parent 3d4871f163
commit c58e3a2246

View file

@ -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"]))