An AI-powered search engine with a generative UI
TypeScript generative-aigenerative-uinextjsollamareactsearxngshadcn-uitailwindcsstavilytypescriptupstashvercel-ai-sdk
refactor: Update model-selector component to increase max height of select content
Yoshiki Miurac12eb6feb29a
diff --git a/components/model-selector.tsx b/components/model-selector.tsxindex 6c09020f..1fc918a9 100644--- a/components/model-selector.tsx+++ b/components/model-selector.tsx@@ -57,7 +57,7 @@ export function ModelSelector({<SelectTrigger className="mr-2 h-7 text-xs border-none shadow-none focus:ring-0"><SelectValue placeholder="Select model" /></SelectTrigger>- <SelectContent className="max-h-[200px] overflow-y-auto">+ <SelectContent className="max-h-[300px] overflow-y-auto">{Object.entries(groupedModels).map(([provider, models]) => (<SelectGroup key={provider}><SelectLabel className="text-xs sticky top-0 bg-background z-10">diff --git a/public/providers/logos/groq.svg b/public/providers/logos/groq.svgindex 8fd437ac..9c8a04d7 100644--- a/public/providers/logos/groq.svg+++ b/public/providers/logos/groq.svg@@ -1,3 +1,3 @@<svg width="400" height="400" viewBox="0 0 400 400" fill="none" xmlns="http://www.w3.org/2000/svg">-<path d="M200.401 65.0031C149.3 64.5916 107.498 105.571 107.004 156.672C106.511 207.772 147.572 249.574 198.673 250.068C199.249 250.068 199.825 250.068 200.401 250.068H230.847V215.425H200.401C168.473 215.836 142.306 190.245 141.894 158.317C141.483 126.39 167.074 100.222 199.002 99.8108C199.413 99.8108 199.907 99.8108 200.319 99.8108C232.164 99.8108 258.249 125.731 258.249 157.659V242.827C258.249 274.508 232.493 300.264 200.895 300.675C185.754 300.51 171.353 294.503 160.656 283.724L136.134 308.163C153.168 325.279 176.208 334.989 200.319 335.236H201.553C251.995 334.495 292.563 293.598 292.81 243.156V155.273C291.576 105.077 250.514 65.0854 200.401 65.0031Z" fill="black"/>+<path d="M200.251 0.00454601C124.612 -0.604461 62.7373 60.0526 62.0065 135.691C61.2757 211.33 122.055 273.205 197.693 273.936C198.546 273.936 199.398 273.936 200.251 273.936H245.318V222.657H200.251C152.992 223.266 114.259 185.386 113.65 138.127C113.041 90.8683 150.921 52.1355 198.18 51.5265C198.789 51.5265 199.52 51.5265 200.129 51.5265C247.266 51.5265 285.877 89.8939 285.877 137.153V263.217C285.877 310.111 247.754 348.234 200.982 348.843C178.57 348.6 157.255 339.708 141.421 323.752L105.124 359.927C130.337 385.262 164.441 399.635 200.129 400H201.956C276.62 398.904 336.668 338.369 337.034 263.704V133.621C335.207 59.3218 274.428 0.126347 200.251 0.00454601Z" fill="black"/></svg>