When the user switches to another chat conversation, the last used model is automatically loaded.
In addition, there are two bug fixes:
Save & Regenerate buttons were visible for AI messages, which was wrong (issue introduced when changed to use Makepad buttons).
Fixed weird issue when chat messages were not appearing at all (the problems was the scroll position of the messages PortalList when coming from a longest conversation).
[x] Check if changes would break existing users because of the chat persistence.
Note about existing users: Chat conversations persisted with earlier versions of the app won't auto-select the last used model because this piece of data was never stored. We could use the model used in the first interaction but it doesn't seem to worth adding more code to cover such case. As far the conversation are updated, they will be persisted in our new format and the app will behave in the new way.
When the user switches to another chat conversation, the last used model is automatically loaded.
In addition, there are two bug fixes:
Save & Regenerate buttons were visible for AI messages, which was wrong (issue introduced when changed to use Makepad buttons).
Fixed weird issue when chat messages were not appearing at all (the problems was the scroll position of the messages PortalList when coming from a longest conversation).
[x] Check if changes would break existing users because of the chat persistence. Note about existing users: Chat conversations persisted with earlier versions of the app won't auto-select the last used model because this piece of data was never stored. We could use the model used in the first interaction but it doesn't seem to worth adding more code to cover such case. As far the conversation are updated, they will be persisted in our new format and the app will behave in the new way.