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
feat: Bing Image Creator
fuegovic530f9d303f46
diff --git a/api/app/bingai.js b/api/app/bingai.jsindex 97674574c9..97f47ec921 100644--- a/api/app/bingai.js+++ b/api/app/bingai.js@@ -47,6 +47,16 @@ const askBing = async ({parentMessageId,toneStyle,onProgress,+ clientOptions: {+ features: {+ genImage: {+ server: {+ enable: true,+ type: 'markdown_list',+ },+ },+ },+ },};} else {options = {@@ -56,6 +66,16 @@ const askBing = async ({parentMessageId,toneStyle,onProgress,+ clientOptions: {+ features: {+ genImage: {+ server: {+ enable: true,+ type: 'markdown_list',+ },+ },+ },+ },};// don't give those parameters for new conversationdiff --git a/api/server/routes/ask/bingAI.js b/api/server/routes/ask/bingAI.jsindex e03529527b..ced293105a 100644--- a/api/server/routes/ask/bingAI.js+++ b/api/server/routes/ask/bingAI.js@@ -172,7 +172,8 @@ const ask = async ({let unfinished = false;if (partialText?.trim()?.length > response.text.length) {response.text = partialText;- unfinished = true;+ unfinished = false;+ //setting "unfinished" to false fix bing image generation error msg and allows to continue a convo after being triggered by censorship (bing does remember the context after a "censored error" so there is no reason to end the convo)}let responseMessage = {diff --git a/client/src/components/Messages/Content/Content.jsx b/client/src/components/Messages/Content/Content.jsxindex bdeaef2fb9..f891d03901 100644--- a/client/src/components/Messages/Content/Content.jsx+++ b/client/src/components/Messages/Content/Content.jsx@@ -69,7 +69,8 @@ const Content = React.memo(({ content, message }) => {];if (!isInitializing || !isLatestMessage) {- rehypePlugins.pop();+ //commented out to fix bing image creator errors+ //rehypePlugins.pop();}return (