Skip to content

Feature: Export conversation history to file (JSON/Markdown) #1731

@Shanks-btc

Description

@Shanks-btc

The Problem
Currently OM1 does not provide a way to export conversation history. Users cannot easily save, share, or analyze their chat sessions outside the app.
This makes debugging and collaboration difficult, especially for long running conversations

The Solution
Add a conversation export feature that allows users to save the conversation history to a file in a clean format.

The export should support:

  1. JSON (for programmatic use)

  2. Markdown (for readable, shareable format)

Changes (Suggested)

Add a new utility function (e.g., export_conversation) in src/utils/

Add a CLI command or API endpoint to trigger export

Add unit tests to verify export output formats

Test Cases (Example)

Export conversation with multiple messages

Export conversation with metadata (timestamps, agent names)

Export to JSON and Markdown

Export with empty conversation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions