Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active
TypeScript aianthropicartifactsawsazurechatgptchatgpt-cloneclaudeclonedeepseekgeminigooglegpt-5librechatmcpo1openairesponses-apivisionwebui
refactor(ModelDropDown.jsx): remove commented out code and simplify model display
Daniel Avila77b46cc1a70f
diff --git a/client/src/components/ui/ModelDropDown.jsx b/client/src/components/ui/ModelDropDown.jsxindex 5240d1155a..9fa64bda19 100644--- a/client/src/components/ui/ModelDropDown.jsx+++ b/client/src/components/ui/ModelDropDown.jsx@@ -43,15 +43,6 @@ function ModelDropDown({</Listbox.Label>)}<span className="inline-flex w-full truncate">- {/* {!showLabel && (- <Listbox.Label- className="text-xs text-gray-700 dark:text-gray-500 mr-3"- id="headlessui-listbox-label-:r1:"- data-headlessui-state=""- >- Model- </Listbox.Label>- )} */}<spanclassName={cn('flex h-6 items-center gap-1 truncate text-sm text-gray-900 dark:text-white',@@ -59,8 +50,7 @@ function ModelDropDown({)}>{!showLabel && <span className="text-xs text-gray-700 dark:text-gray-500">Model:</span>}- {`${!showLabel ? '' : ''} ${model}`}- {/* {`${!showLabel ? 'Model: ' : ''} ${model}`} */}+ {model}</span></span><span className="pointer-events-none absolute inset-y-0 right-0 flex items-center pr-2">