Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.

Commit d00536b

Browse files
committed
feat(azure): add model metadata, model picker, rename to Azure AI Foundry
- Add static model metadata for 29 Azure models (from models.dev) with Roo-specific flags (reasoning, tools, verbosity) matching openAiNativeModels - Add model picker dropdown to Azure provider settings for model capability detection (context window, max tokens, pricing) - Rename provider label from 'Azure OpenAI' to 'Azure AI Foundry' across all 18 locales - Make API key optional (supports Azure managed identity / Entra ID) - Update default API version from 2024-08-01-preview to 2025-04-01-preview - Fix maxOutputTokens validation (filter invalid values <= 0) - Handler separates deployment name (API calls) from model ID (capability lookup) with azureDefaultModelInfo (gpt-4o) fallback - Remove unhelpful 'Get Azure AI Foundry Access' button - Prevent stale model IDs from other providers carrying over - Suppress validation errors on fresh provider selection
1 parent 1c3437f commit d00536b

30 files changed

Lines changed: 501 additions & 69 deletions

packages/types/src/provider-settings.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -641,8 +641,9 @@ export const MODELS_BY_PROVIDER: Record<
641641
},
642642
azure: {
643643
id: "azure",
644-
label: "Azure OpenAI",
645-
models: [], // Azure uses deployment names configured by the user
644+
label: "Azure AI Foundry",
645+
// Azure uses deployment names configured by the user (not a fixed upstream model ID list)
646+
models: [],
646647
},
647648
bedrock: {
648649
id: "bedrock",

0 commit comments

Comments
 (0)