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 (chatActionHandlerinChat.svelte) look uphistory.messages[undefined]and crash. The action now updates the existing last message in place (the frontend preserves the original content asoriginalContent), 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
outputfield and leaves the flatcontentempty, so the plugin's content extraction returned nothing and the action bailed out on valid replies. The plugin now rebuilds the assistant text fromoutputusing OWUI's ownconvert_output_to_messages(reasoning excluded), with a three-step resolution: existingcontent→ inlinemsg.output→ChatMessages.get_message_by_idDB lookup. Recovered text is backfilled ontomsg["content"]so downstream code reads it uniformly.
Compatibility
- Minimum OpenWebUI:
required_open_webui_version: 0.10.2is now declared in the plugin metadata. OWUI enforces this at install time, aligning with PR #103's approach forexport_to_excel/export_to_docx. - Guarded imports:
ChatMessagesandconvert_output_to_messagesare imported withtry/except. On older OWUI where they don't exist, recovery silently no-ops and the plugin falls back to the originalcontent-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_versionwill 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
- Smart Mind Map: v1.0.1 → v1.0.2 | 📖 README
📚 Documentation Portal
🐛 Report Issues
Full Changelog: release-2026.07.02...smart-mind-map-v1.0.2