Skip to content

Conversation

@ethanndickson
Copy link
Member

@ethanndickson ethanndickson commented Nov 28, 2025

The ORPC migration PR (#763) accidentally removed the model favorites integration from ChatInput.

What was missing

  • defaultModel and setDefaultModel not destructured from useModelLRU()
  • useEffect that resets model to default when entering creation mode
  • defaultModel and onSetDefaultModel props not passed to ModelSelector

The ModelSelector UI (star icons) and useModelLRU hook were fine — just the integration was dropped.

Testing

The existing ModelSelector.stories.tsx WithDefaultModel story documents this feature visually.


Generated with mux

The ORPC migration PR accidentally removed the model favorites integration
from ChatInput. Restored:
- defaultModel and setDefaultModel from useModelLRU()
- useEffect to reset model to default when entering creation mode
- defaultModel and onSetDefaultModel props passed to ModelSelector
@ethanndickson ethanndickson force-pushed the restore-model-favourites branch 2 times, most recently from e226fee to ad9a600 Compare November 28, 2025 04:05
The ORPC migration PR accidentally removed the model favorites integration
from ChatInput. Restored:
- defaultModel and setDefaultModel from useModelLRU()
- useEffect to reset model to default when entering creation mode
- defaultModel and onSetDefaultModel props passed to ModelSelector

The ModelSelector.stories.tsx WithDefaultModel story documents the feature.
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.

1 participant