open-learning-exchange / planet

🌍 Planet Learning - Angular application
https://hub.docker.com/r/treehouses/planet
GNU Affero General Public License v3.0
62 stars 39 forks source link

chat: smoother provider switching (fixes #7638)(fixes #7809) #7814

Closed RheuX closed 4 days ago

RheuX commented 6 days ago

Fixes #7638 Fixes #7809

New chat: If you are currently on a chat with a specific provider, then switching provider will create a new chat. If you haven't selected an existing chat with a model, than switching chat does nothing.

Select existing chat: If you select an existing chat, it will switch over to the model that the chat previously used (since we want to let a chat be tied to a specific model)

RheuX commented 5 days ago

I might make another PR that handles another issue (#7809) to combine into this PR, since I might refactor a couple stuff in this PR to have a smoother flow