llm icon indicating copy to clipboard operation
llm copied to clipboard

[FR] Add `--chat-display` to `llm logs list`

Open NightMachinery opened this issue 7 months ago • 0 comments

Currently, llm logs list does not merge the messages that share a conversation ID. It would be better if they were, in fact, merged.

Current behavior:

# 2023-11-29T03:48:48    conversation: 01hgck36vk20q6x2fsp6zjrvpk

Model: **gpt-3.5-turbo**

## Prompt:

Hi

## Response:

Hello! How can I assist you today?

# 2023-11-29T03:49:04    conversation: 01hgck36vk20q6x2fsp6zjrvpk

Model: **gpt-3.5-turbo**

## Prompt:

Tell me a joke.

## Response:

Sure, here's a classic one for you:
Why don't scientists trust atoms?
Because they make up everything!

New behavior:

#  conversation: 01hgck36vk20q6x2fsp6zjrvpk

## Prompt: (2023-11-29T03:48:48, Model: **gpt-3.5-turbo**)

Hi

## Response: 

Hello! How can I assist you today?

## Prompt: (2023-11-29T03:49:04, Model: **gpt-3.5-turbo**)

Tell me a joke.

## Response: 

Sure, here's a classic one for you:
Why don't scientists trust atoms?
Because they make up everything!

The new output mode is much easier to read.

NightMachinery avatar Nov 29 '23 03:11 NightMachinery