add model settings button in chat header and associated functionality

This commit is contained in:
2026-09-08 23:31:48 +02:00
parent 0546bcaf33
commit 7450f5c97f
4 changed files with 21 additions and 3 deletions
+1 -1
View File
@@ -113,7 +113,7 @@
<h2 id="activeChatTitle">New chat</h2>
</div>
<div class="chat-header-context" aria-label="Current chat setup">
<span class="chat-context-item"><span>Model</span><strong id="headerModelName">Loading...</strong></span>
<button id="headerModelButton" class="chat-context-item chat-context-button secondary-action" type="button" aria-controls="chatDrawer" aria-label="Change AI model"><span>Model</span><strong id="headerModelName">Loading...</strong></button>
<span class="chat-context-item"><span>Persona</span><strong id="headerPersonaName">None</strong></span>
</div>
</div>