feat(MessageInput): Update model selector visibility based on screen width

feat(SimplifiedAgent): Enhance web search instructions and improve message handling
This commit is contained in:
Willie Zutz 2025-08-11 00:42:16 -06:00
parent 803fd5cc17
commit 88e7a5bb7e
2 changed files with 33 additions and 36 deletions

View file

@ -173,7 +173,11 @@ const MessageInput = ({
</div>
<div className="flex flex-row items-center space-x-2">
<ModelSelector
showModelName={false}
showModelName={
typeof window !== 'undefined'
? window.matchMedia('(min-width: 640px)').matches
: false
}
selectedModel={selectedModel}
setSelectedModel={(selectedModel) => {
setSelectedModel(selectedModel);