Skip to content

[Bug]: AI summary embeds base64 images in Markdown, causing large files and slow loading #116

Description

@mydmdm

Existing issues

  • I searched the existing issues and did not find a report of the same problem.

What happened?

The AI summary function generated Markdown node files containing images as inline data:image/...;base64,... payloads. This makes the authored Markdown unexpectedly large and causes nodes to open slowly, especially on poor network connections.

Observed in two AI-generated summary nodes:

File Total size Lines containing data:image Bytes on matching lines
Generated summary 1 10,766,307 bytes 15 10,762,101 bytes
Generated summary 2 10,767,301 bytes 15 10,762,101 bytes

More than 99.9% of each file is therefore attributable to lines containing embedded image data. The image payloads and private node content are intentionally omitted from this report.

What did you expect?

AI-generated summaries should store images as managed Huabu assets and reference them by URL/path in Markdown, rather than embedding large base64 data URLs. Opening a summary node should not require downloading and parsing roughly 10.8 MB of Markdown.

Steps to reproduce

  1. Use the AI summary function on source content containing multiple images or slides.
  2. Allow the generated summary node to be applied/saved.
  3. Inspect the generated node Markdown file.
  4. Observe multiple inline data:image payloads and a file size of roughly 10.8 MB.
  5. Open the generated node over a slow network and observe delayed loading.

How often does it happen?

Observed in both inspected AI-generated summary files (2/2).

System information

Not collected; this is a persisted-content issue confirmed directly in the generated Markdown files.

AI-related details

  • Feature: AI summary
  • Output: Markdown node containing inline base64 image data
  • Provider/model: Unknown
  • Proposed changes were applied and persisted to the node files

Sensitive information

  • I reviewed this report and removed node content, embedded image data, and sensitive information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions