Skip to content

Commit

Permalink
Fixed test failure, refs #160
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Aug 17, 2023
1 parent 79d0993 commit a2eab1b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions llm/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit a2eab1b

Please sign in to comment.