Skip to content

Resumed chats should display the full chat history #12

@stephen-cox

Description

@stephen-cox

At the moment resumed chats show a truncated version of the chat history.

This is what a resumed chat currently looks like

$ nova chat resume
✓ Resuming most recent conversation
ℹ Session: 1aa30d16
ℹ Title: Hello - are you running on ollama
ℹ Last updated: 2025-08-01 08:50

✓ Nova AI Research Assistant
ℹ Active profile: default (ollama/llama3.2)
ℹ Type '/exit', '/quit', or press Ctrl+C to end the session
ℹ Type '/help' for available commands

ℹ Loaded session: 1aa30d16
ℹ Conversation: 1aa30d16
ℹ Title: Hello - are you running on ollama
ℹ Messages: 6

╭─ 👤 User (08:51:02) ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Hello - are you running on ollama?                                                                                                                     │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ 🤖 Nova (08:51:12) ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Hello! I'm Nova, your friendly AI research assistant. As for my infrastructure, I am currently running on a combination of technologies, including but │
│ not limited to:                                                                                                                                        │
│                                                                                                                                                        │
│  1 Transformer-based architectures: These are a type of neural network designed specifically for natural language processing tasks like our            │
│    conversation.                                                                                                                                       │
│  2 Meta-LM models: These are large language models that have been fine-tuned on a wide range of texts and datasets to generate human-like responses.   │
│  3 Cloud-based services: I'm hosted on cloud infrastructure, which allows me to scale quickly and provide fast response times.                         │
│                                                                                                                                                        │
│ I don't use Ollama specifically, but rather a range of cutting-edge technologies designed for conversational AI research. If you'd like to know more   │
│ about my inner workings or have specific questions, feel free to ask!                                                                                  │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ 👤 User (08:51:57) ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ cool - can you output some markdown including titles so I can check the display?                                                                       │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ 🤖 Nova (08:52:06) ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Here's an example of Markdown with titles:                                                                                                             │
│                                                                                                                                                        │
│ This is a basic heading.                                                                                                                               │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ 👤 User (09:21:29) ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ can you show some markdown headings and horizontal rules?                                                                                              │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ 🤖 Nova (09:21:34) ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Here's an example of Markdown headings and horizontal rules:                                                                                           │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

This is what it should look like:

$ nova chat start
✓ Nova AI Research Assistant
ℹ Active profile: default (ollama/llama3.2)
ℹ Type '/exit', '/quit', or press Ctrl+C to end the session
ℹ Type '/help' for available commands

ℹ Started new session: 1aa30d16
╭─ 👤 You (08:51:02) ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Hello - are you running on ollama?                                                                                                                     │
╰──────────────────────────────────────────────────────────────────────────────────────────────ℹ 
╭─ 🤖 Nova ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Hello! I'm Nova, your friendly AI research assistant. As for my infrastructure, I am currently running on a combination of technologies, including but │
│ not limited to:                                                                                                                                        │
│                                                                                                                                                        │
│  1 Transformer-based architectures: These are a type of neural network designed specifically for natural language processing tasks like our            │
│    conversation.                                                                                                                                       │
│  2 Meta-LM models: These are large language models that have been fine-tuned on a wide range of texts and datasets to generate human-like responses.   │
│  3 Cloud-based services: I'm hosted on cloud infrastructure, which allows me to scale quickly and provide fast response times.                         │
│                                                                                                                                                        │
│ I don't use Ollama specifically, but rather a range of cutting-edge technologies designed for conversational AI research. If you'd like to know more   │
│ about my inner workings or have specific questions, feel free to ask!                                                                                  │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ 👤 You (08:51:57) ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ cool - can you output some markdown including titles so I can check the display?                                                                       │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ 🤖 Nova ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Here's an example of Markdown with titles:                                                                                                             │
│                                                                                                                                                        │
│ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ │
│ ┃                                                                    Hello World                                                                     ┃ │
│ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ │
│                                                                                                                                                        │
│ This is a basic heading.                                                                                                                               │
│                                                                                                                                                        │
│                                                                                                                                                        │
│                                                                      Subheading 1                                                                      │
│                                                                                                                                                        │
│ This is a subheading. It's smaller than the main heading, but still has a title-like quality to it.                                                    │
│                                                                                                                                                        │
│                                                                      Subheading 2                                                                      │
│                                                                                                                                                        │
│ This is another subheading. It's even smaller than the first one, and has a bit more of a subtle feel to it.                                           │
│                                                                                                                                                        │
│                                                                      Subheading 3                                                                      │
│                                                                                                                                                        │
│ And finally, here's an even smaller subheading. This one's got a lot of emphasis, with lots of underscores underneath to make it stand out.            │
│                                                                                                                                                        │
│ Bold text This is some bold text, which stands out from the regular font.                                                                              │
│                                                                                                                                                        │
│ Italic text This is some italic text, which is slanted to the right and looks a bit more relaxed than the regular font.                                │
│                                                                                                                                                        │
│ Strikethrough text This is some strikethrough text, which has a line through it to make it look like it's been crossed out.                            │
│                                                                                                                                                        │
│                                                                         Links                                                                          │
│                                                                                                                                                        │
│  • Link 1                                                                                                                                              │
│  • Link 2                                                                                                                                              │
│                                                                                                                                                        │
│                                                                         Images                                                                         │
│                                                                                                                                                        │
│ 🌆 Image Alt Text                                                                                                                                      │
│                                                                                                                                                        │
│ Let me know if you'd like to see any other Markdown features!                                                                                          │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ 👤 Ypu (09:21:29) ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ can you show some markdown headings and horizontal rules?                                                                                              │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ 🤖 Nova ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Here's an example of Markdown headings and horizontal rules:                                                                                           │
│                                                                                                                                                        │
│ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ │
│ ┃                                                                     Heading 1                                                                      ┃ │
│ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ │
│                                                                                                                                                        │
│                                                                                                                                                        │
│                                                                      Subheading 1                                                                      │
│                                                                                                                                                        │
│                                                                      Subheading 2                                                                      │
│                                                                                                                                                        │
│                                                                      Subheading 3                                                                      │
│                                                                                                                                                        │
│                                                                      Subheading 4                                                                      │
│                                                                                                                                                        │
│                                                                      Subheading 5                                                                      │
│                                                                                                                                                        │
│ ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── │
│ Horizontal Rule                                                                                                                                        │
│                                                                                                                                                        │
│ This line is a horizontal rule. It separates the headings from the rest of the text.                                                                   │
│                                                                                                                                                        │
│ ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── │
│ Alternatively, you can use triple hyphens (---) or asterisks (*) to create a horizontal rule:                                                          │
│                                                                                                                                                        │
│ ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── │
│ ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── │
│ ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── │
│ These all produce the same effect as the --- or | characters I used earlier. Let me know if you have any other questions!                              │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions