Prof-Reza commited on
Commit
67e0a60
·
verified ·
1 Parent(s): d8d53d9

Fix session sidebar: display chat titles with key snippet; parse selection to obtain chat key; improve rename and delete operations to work reliably.

Browse files

This commit updates app.py to fix session sidebar functionality. It changes refresh_sessions() to display chat titles along with a short key snippet and selects the current session correctly. It also changes load_session() to extract the chat key from the selected radio choice and load messages properly. These changes ensure that renaming a session updates the sidebar labels correctly and deleting a session does not break the UI. No changes to other files.

Files changed (0) hide show