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: Formatting Edge Case Handling for Bedrock Messages (#4016)
Danny Avila9a393be01268
diff --git a/api/app/clients/prompts/formatMessages.js b/api/app/clients/prompts/formatMessages.jsindex a5ed05c645..1ea44f9d29 100644--- a/api/app/clients/prompts/formatMessages.js+++ b/api/app/clients/prompts/formatMessages.js@@ -142,6 +142,9 @@ const formatAgentMessages = (payload) => {const messages = [];for (const message of payload) {+ if (typeof message.content === 'string') {+ message.content = [{ type: ContentTypes.TEXT, [ContentTypes.TEXT]: message.content }];+ }if (message.role !== 'assistant') {messages.push(formatMessage({ message, langChain: true }));continue;diff --git a/client/src/components/ui/SelectDropDown.tsx b/client/src/components/ui/SelectDropDown.tsxindex 550a6bf456..26ed808b28 100644--- a/client/src/components/ui/SelectDropDown.tsx+++ b/client/src/components/ui/SelectDropDown.tsx@@ -102,7 +102,6 @@ function SelectDropDown({const hasSearchRender = searchRender != null;const options = hasSearchRender ? filteredValues : availableValues;- console.log({ hasSearchRender, options });const renderIcon = showOptionIcon && value != null && (value as OptionWithIcon).icon != null;return (