diff --git a/src/App.jsx b/src/App.jsx index fd744fc..7aa7e4c 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -2757,13 +2757,61 @@ async function createNewChat() { )} {activeSidebarMode === 'chats' && ( <> -
- Chat - {chatSessions.find(s => s.session_id === activeSessionId)?.name || 'New Chat'} - {chatLibrary && ( - - {`DB: ${chatLibrary.name}${chatLibraryStatusSuffix}`} - - )} +
+
+ + Chat - {activeChatSession?.name || 'New Chat'} + + {chatLibrary && ( + + {`DB: ${chatLibrary.name}${chatLibraryStatusSuffix}`} + + )} +
+
+
+ + {isChatModelPickerOpen && ( +
+ {chatModelPickerOptions.length === 0 ? ( +
+ {isLoadingModelCatalog ? 'Loading models…' : 'No chat models available.'} +
+ ) : ( + chatModelPickerOptions.map(option => { + const selected = option.value === model + return ( + + ) + }) + )} +
+ )} +
+