Skip to content

Conversation

@notshekhar
Copy link
Contributor

Updated the handleModelChange function to remove the model parameter and streamline the reload logic. The SelectModel component has been commented out, and the button now directly triggers the handleModelChange function. This change addresses an issue where the model selector would reload the chat with the already selected model, regardless of the user's choice, so the selector was removed for simplicity.

Updated the handleModelChange function to remove the model parameter and streamline the reload logic. The SelectModel component has been commented out, and the button now directly triggers the handleModelChange function.
@vercel
Copy link

vercel bot commented Jul 13, 2025

@notshekhar is attempting to deploy a commit to the cgoinglove's projects Team on Vercel.

A member of the Team first needs to authorize it.

@notshekhar notshekhar changed the title refactor: simplify handleModelChange in AssistMessagePart component refactor: simplify reload chat Jul 13, 2025
@brrock
Copy link
Collaborator

brrock commented Jul 15, 2025

There are a few Ts erors, thanks for your PR

@cgoinglove
Copy link
Owner

While I appreciate the simplification, I actually prefer the previous UX because it allowed me to select the model directly, and I didn't find it particularly cumbersome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants