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
🎤 fix: Keep Microphone Icon Visible On Initial Chat Render (#13788)
Danny Avilab91c1c2508b0
diff --git a/client/src/components/Chat/Input/AudioRecorder.tsx b/client/src/components/Chat/Input/AudioRecorder.tsxindex 30373a908a..3eaefcdcc8 100644--- a/client/src/components/Chat/Input/AudioRecorder.tsx+++ b/client/src/components/Chat/Input/AudioRecorder.tsx@@ -11,13 +11,11 @@ export default memo(function AudioRecorder({disabled,ask,methods,- textAreaRef,isSubmitting,}: {disabled: boolean;ask: TAskFunction;methods: ReturnType<typeof useChatFormContext>;- textAreaRef: React.RefObject<HTMLTextAreaElement>;isSubmitting: boolean;}) {const { setValue, reset, getValues } = methods;@@ -82,10 +80,6 @@ export default memo(function AudioRecorder({onTranscriptionComplete,);- if (!textAreaRef.current) {- return null;- }-const handleStartRecording = async () => {existingTextRef.current = getValues('text') || '';startRecording();diff --git a/client/src/components/Chat/Input/ChatForm.tsx b/client/src/components/Chat/Input/ChatForm.tsxindex c1efba72fc..baed7ba4a2 100644--- a/client/src/components/Chat/Input/ChatForm.tsx+++ b/client/src/components/Chat/Input/ChatForm.tsx@@ -385,7 +385,6 @@ const ChatForm = memo(function ChatForm({<AudioRecordermethods={methods}ask={submitMessage}- textAreaRef={textAreaRef}disabled={disableInputs || isNotAppendable}isSubmitting={isSubmitting}/>