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:
parent
803fd5cc17
commit
88e7a5bb7e
2 changed files with 33 additions and 36 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue