Skip to content

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

🔄 fix: Add Azure to Recognized and Content array providers for MCP Tool Calls (#9092)

Danny Avilacebf140bcec8
diff --git a/packages/api/src/mcp/parsers.ts b/packages/api/src/mcp/parsers.ts
index 7886c86a10..b0722fc012 100644
--- a/packages/api/src/mcp/parsers.ts
+++ b/packages/api/src/mcp/parsers.ts
@@ -3,13 +3,14 @@ const RECOGNIZED_PROVIDERS = new Set([
'google',
'anthropic',
'openai',
+ 'azureopenai',
'openrouter',
'xai',
'deepseek',
'ollama',
'bedrock',
]);
-const CONTENT_ARRAY_PROVIDERS = new Set(['google', 'anthropic', 'openai']);
+const CONTENT_ARRAY_PROVIDERS = new Set(['google', 'anthropic', 'azureopenai', 'openai']);
const imageFormatters: Record<string, undefined | t.ImageFormatter> = {
// google: (item) => ({