From a2eab1b0f7a9fce44dce4cac9877f2fe29cfe3d9 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Thu, 17 Aug 2023 14:17:39 -0700 Subject: [PATCH] Fixed test failure, refs #160 --- llm/cli.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/llm/cli.py b/llm/cli.py index c67a659f..3f817b56 100644 --- a/llm/cli.py +++ b/llm/cli.py @@ -526,12 +526,12 @@ def logs_list(count, path, model, query, truncate, conversation, json_output): # In conversation log mode only show it for the first one if conversation: should_show_conversation = False - click.echo("## Prompt:\n\n{}".format(row["prompt"], " ")) + click.echo("## Prompt:\n\n{}".format(row["prompt"])) if row["system"] != current_system: if row["system"] is not None: - click.echo("\n## System:\n\n{}".format(row["system"], " ")) + click.echo("\n## System:\n\n{}".format(row["system"])) current_system = row["system"] - click.echo("\n## Response:\n\n{}\n".format(row["response"], " ")) + click.echo("\n## Response:\n\n{}\n".format(row["response"])) @cli.group()