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

This commit is contained in:
Danny Avila 2025-08-16 12:44:12 -04:00 committed by GitHub
parent cc0cf359a2
commit cebf140bce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,13 +3,14 @@ const RECOGNIZED_PROVIDERS = new Set([
'google', 'google',
'anthropic', 'anthropic',
'openai', 'openai',
'azureopenai',
'openrouter', 'openrouter',
'xai', 'xai',
'deepseek', 'deepseek',
'ollama', 'ollama',
'bedrock', '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> = { const imageFormatters: Record<string, undefined | t.ImageFormatter> = {
// google: (item) => ({ // google: (item) => ({