openhuman icon indicating copy to clipboard operation
openhuman copied to clipboard

Markdown conversation export creates an empty file

Open tinysweeper opened this issue 1 month ago • 2 comments

Description

Exporting a conversation as Markdown in OpenHuman creates the destination file but writes no content. This affects every tested chat, including very short conversations, on Windows 11.

Build: OpenHuman 0.64.15 Reproducible: Yes

Steps to Reproduce

  1. Open any chat
  2. Select Export → Markdown
  3. Choose a folder
  4. Save the export

Expected Behaviour

  • The .md file contains the conversation transcript.

Actual Behaviour

  • The file is created but is 0 bytes.
  • No error appears in the app.
  • Nothing is recorded in the logs.

Impact

  • The user cannot export conversations from OpenHuman at all.
  • The issue occurs on three different chats, including a very short chat.

Acceptance Criteria

  • [ ] Exporting any conversation as Markdown creates a non-empty .md file.
  • [ ] The exported Markdown contains the conversation transcript.
  • [ ] Exporting a short conversation produces the expected transcript content.
  • [ ] Export failures, if any, are reported to the user instead of silently creating an empty file.
  • [ ] Verified fixed on a build after OpenHuman 0.64.15, following the steps above

Reported in Discord.

What Teeny found (confidence 0.58)

This looks like an OpenHuman bug: the Markdown export is created but contains no conversation data. I couldn’t find a matching tracked issue in the repository, so it does not appear to be documented as already known.

The repository’s transcript exporter is expected to write a # OpenHuman transcript header plus each conversation entry, so a 0-byte file is not expected behavior. Please report it with the exact steps and attach the relevant openhuman.<date>.log file from Settings → About → App Logs Folder (redact secrets, tokens, and JWTs).

Related:

  • https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-tui/src/state.rs#L182-L202
  • https://github.com/tinyhumansai/openhuman/blob/main/docs/gitbooks/en/features/chat.md#L1-L27

Relevant code locations

  • crates/openhuman-tui/src/state.rs:182-202 — export_markdown
  • crates/openhuman-core/src/modules/documents/memory_converter_tests.rs:276-297
  • scripts/test-planning/build-github-test-map.mjs:643-682 — renderMarkdown
  • crates/openhuman-core/src/modules/documents.rs:402-439 — convert_markdown
  • crates/openhuman-core/src/flows/ops/langfuse_export_tests.rs:406-421 — export_with_empty_observations_is_a_noop

tinysweeper avatar Oct 26 '26 07:10 tinysweeper

Test report from the Teeny end-to-end run for #7055; not a real defect.

CodeGhost21 avatar Oct 26 '26 10:10 CodeGhost21

Markdown conversation export in OpenHuman 0.64.15 creates a 0-byte .md file with no transcript content and no error, reproducing across multiple chats on Windows 11. Core export path is broken, but a workaround exists (exporting via another format or copying transcript manually), so p2. Neither candidate issue (#8322 vault path, #8398 DeepSeek tool-call replay) describes the same underlying problem, so no prior art is named.

Labelled priority: p2.

tinysweeper avatar Oct 26 '26 10:10 tinysweeper