Skip to content

Smart Mind Map v1.0.2

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Jul 11:38
8b2ed0f

Overview

Smart Mind Map v1.0.2 restores the action on OpenWebUI v0.10+. On v0.10+, clicking the action either crashed the frontend (Cannot read properties of undefined (reading 'content')) or reported "No content found to export!" on valid replies. This release fixes both layers and declares a minimum OpenWebUI version.

Bug Fixes

  • Frontend crash on OWUI v0.10+ (issue #101): The action's early-return paths used to append a new assistant message without an id, which made the OWUI v0.10+ frontend (chatActionHandler in Chat.svelte) look up history.messages[undefined] and crash. The action now updates the existing last message in place (the frontend preserves the original content as originalContent), so no id-less message is ever returned.
  • Empty content on OWUI v0.10+ (issue #101, second layer): OWUI v0.10+ moved assistant replies to a structured output field and leaves the flat content empty, so the plugin's content extraction returned nothing and the action bailed out on valid replies. The plugin now rebuilds the assistant text from output using OWUI's own convert_output_to_messages (reasoning excluded), with a three-step resolution: existing content → inline msg.outputChatMessages.get_message_by_id DB lookup. Recovered text is backfilled onto msg["content"] so downstream code reads it uniformly.

Compatibility

  • Minimum OpenWebUI: required_open_webui_version: 0.10.2 is now declared in the plugin metadata. OWUI enforces this at install time, aligning with PR #103's approach for export_to_excel / export_to_docx.
  • Guarded imports: ChatMessages and convert_output_to_messages are imported with try/except. On older OWUI where they don't exist, recovery silently no-ops and the plugin falls back to the original content-only path — no crash.
  • Using OpenWebUI < 0.10.2? Install Smart Mind Map v1.0.1 instead — it's the last release before the v0.10 compatibility fix and works on pre-v0.10 OWUI.

Migration Notes

  • No new Valves are introduced.
  • No action configuration changes are required.
  • If you previously pinned to v1.0.1 on OWUI < 0.10.2, stay on v1.0.1 — v1.0.2's required_open_webui_version will prevent installation on older setups by design.

Credits

The structured-output recovery approach follows the technique pioneered by @rbb-dev in PR #103 for export_to_excel / export_to_docx — using OWUI's ChatMessages + convert_output_to_messages rather than hand-rolled parsing.

Version Changes

Plugin Updates


📚 Documentation Portal
🐛 Report Issues

Full Changelog: release-2026.07.02...smart-mind-map-v1.0.2