Closed fingerthief closed 6 months ago
Visit the preview URL for this PR (updated for commit a461346):
https://minimalgpt--pr119-dev-general-code-org-yb0j2wa5.web.app
(expires Sat, 25 May 2024 23:13:25 GMT)
🔥 via Firebase Hosting GitHub Action 🌎
Sign: 95b9f8da4861f0258375bb9789bfa436b4ed7d98
Summary
This PR tackles mainly the giant chatLayout component and begins the process of thinning it out by moving that majority of the conversation processing functions into the recently created conversations-management library. In the process of those updates a few bugs and logic inconsistencies were fixed as well.
I've also created a new
message-sending
library that houses all the logic for model determination etc..when a user sends a message. This was a nice chunk of code to remove fromchatLayout
Lastly, I've began expanding the
Utils
library with various functions used inchatLayout
.The resulting changes trim down the chatLayout component by a noticeably amount. Other libraries will need to be created and utilized to continue cleaning the component out in general.
Contents (#119)
Changes