feat(azure): Azure AI Foundry provider with model metadata and model picker#11144
Draft
roomote[bot] wants to merge 8 commits intomainfrom
Draft
feat(azure): Azure AI Foundry provider with model metadata and model picker#11144roomote[bot] wants to merge 8 commits intomainfrom
roomote[bot] wants to merge 8 commits intomainfrom
Conversation
Contributor
Author
Review complete. No issues found. The missing
Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues. |
Contributor
Author
Review complete. No issues found. The Azure OpenAI provider implementation correctly follows the established AI SDK migration pattern (DeepSeek, Groq, Fireworks). The handler properly integrates with
Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues. |
mrubens
approved these changes
Feb 2, 2026
25d2476 to
1c3437f
Compare
- Add azureApiKey to SECRET_STATE_KEYS for proper configuration detection - Add Azure validation case in validateModelsAndKeysProvided - Add validation translations for azureResourceName and azureDeploymentName across all 18 locales This fixes the issue where the Finish button does nothing when setting up Azure provider in the onboarding workflow.
…ndry - 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
d00536b to
e30e3c1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes the Azure provider onboarding ("Finish" button not working) and significantly improves the Azure experience with model metadata, a model picker, and proper validation.
Changes
Bug Fixes
validateModelsAndKeysProvided()andazureApiKeytoSECRET_STATE_KEYSgetMaxOutputTokens()now filters invalid values (≤ 0) instead of passing throughmaxTokens: -1from defaultsNew Features
includedTools/excludedTools(apply_patch for GPT-5.x),supportsVerbosity, andpromptCacheRetentionImprovements
2024-08-01-preview→2025-04-01-previewazureDeploymentNamefor API,apiModelIdfor capability lookupapiModelIdfrom other providers doesn't carry overTesting