<div class="message-container">
    <!-- Persistent Message Area -->
    <div id="persistentMessage" class="persistent-message">
        <div class="message assistant">
            <span>Welcome to Open-Swarm Chat!</span>
        </div>
        <div id="firstUserMessage">
            <!-- Placeholder for dynamically updated persistent message -->
        </div>
        <div class="message-toolbar">
            <button class="toolbar-btn" aria-label="Edit Persistent Message" title="Edit">
                <img src="{% static 'rest_mode/svg/edit.svg' %}" alt="Edit Icon" class="icon-svg" />
            </button>
            <button class="toolbar-btn" aria-label="Copy Persistent Message" title="Copy">
                <img src="{% static 'rest_mode/svg/copy.svg' %}" alt="Copy Icon" class="icon-svg" />
            </button>
            <button class="toolbar-btn" aria-label="Delete Persistent Message" title="Delete">
                <img src="{% static 'rest_mode/svg/trash.svg' %}" alt="Trash Icon" class="icon-svg" />
            </button>
        </div>
    </div>

    <!-- Messages -->
    <div id="messageHistory" class="message-history">
        <!-- Example of a user message -->
        <div class="message user">
            <span>Hello, how are you?</span>
            <div class="message-toolbar">
                <button class="toolbar-btn" aria-label="Append to Persistent Message" title="Append">
                    <img src="{% static 'rest_mode/svg/plus.svg' %}" alt="Plus Icon" class="icon-svg" />
                </button>
                <button class="toolbar-btn" aria-label="Edit Message" title="Edit">
                    <img src="{% static 'rest_mode/svg/edit.svg' %}" alt="Edit Icon" class="icon-svg" />
                </button>
                <button class="toolbar-btn" aria-label="Copy Message" title="Copy">
                    <img src="{% static 'rest_mode/svg/copy.svg' %}" alt="Copy Icon" class="icon-svg" />
                </button>
                <button class="toolbar-btn" aria-label="Delete Message" title="Delete">
                    <img src="{% static 'rest_mode/svg/trash.svg' %}" alt="Trash Icon" class="icon-svg" />
                </button>
                <button class="toolbar-btn" aria-label="Thumbs Up" title="Thumbs Up">
                    <img src="{% static 'rest_mode/svg/thumbs_up.svg' %}" alt="Thumbs Up Icon" class="icon-svg" />
                </button>
                <button class="toolbar-btn" aria-label="Thumbs Down" title="Thumbs Down">
                    <img src="{% static 'rest_mode/svg/thumbs_down.svg' %}" alt="Thumbs Down Icon" class="icon-svg" />
                </button>
            </div>
        </div>
    </div>
</div>
